Skip to content

Security Policy

Reporting a vulnerability

Please do not open a public issue for security vulnerabilities.

Instead, use GitHub Security Advisories to report a vulnerability privately. We'll respond as quickly as possible.


Fixed vulnerabilities

ID Description Fixed
SEC-001 SSRF and code injection through untrusted AI provider URLs and responses 2025-12-03
SEC-002 urllib3 decompression-bomb (CVE-2026-21441) in Python RAG service 2026-01-09
SEC-003 Missing rate limiting on API and streaming endpoints 2026-02-25

Security notes

  • Paperless-AI requires access to your Paperless-ngx API. Use a dedicated API token with the minimum required permissions.
  • If you use an external AI provider (OpenAI, Azure, Mistral), your document text is sent to that provider. Review their privacy and data retention policies.
  • Using Ollama keeps all data on your own network.
  • The web UI should not be exposed to the public internet without additional authentication (reverse proxy with auth, VPN, etc.).