๐Ÿ” CVE Alert

CVE-2026-71244

MEDIUM 6.5

Paperless-ngx: Mail Account Test Connection Leaks Stored IMAP/OAuth Credentials to Attacker-Controlled Host

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

Paperless-ngx's MailAccountViewSet.test() action, when called with an existing account's ID and a masked password field, reuses the stored password, account_type, refresh_token, and expiration from that existing account while allowing the caller to supply a different imap_server, imap_port, and imap_security in the same request. The test connection then authenticates to the caller-specified server using the real stored credentials. A user holding only object-level change_mailaccount permission on the target account (not full admin) can redirect the test connection to an attacker-controlled IMAP host, causing the real stored IMAP password or OAuth token to be sent to that host.

CWE CWE-918
Vendor paperless-ngx
Product paperless-ngx
Published Aug 5, 2026
Last Updated Aug 5, 2026
Stay Ahead of the Next One

Get instant alerts for paperless-ngx paperless-ngx

Be the first to know when new medium vulnerabilities affecting paperless-ngx paperless-ngx are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

paperless-ngx / paperless-ngx
0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/paperless-ngx/paperless-ngx

Credits

Bobur Abdugafforov