CVE-2026-71244
Received Received - Intake

MailAccountViewSet Test Connection Credential Exposure in Paperless-ngx

Vulnerability report for CVE-2026-71244, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-05

Last updated on: 2026-08-05

Assigner: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-05
Last Modified
2026-08-05
Generated
2026-08-05
AI Q&A
2026-08-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
paperless-ngx paperless-ngx *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Paperless-ngx allows a user with limited permissions to redirect an IMAP test connection to an attacker-controlled server. The user can change IMAP server settings while reusing stored credentials, causing the real password or OAuth token to be sent to the attacker's server.

Detection Guidance

Detect unusual IMAP connection attempts from your Paperless-ngx system to unexpected servers. Monitor logs for test connection requests with modified IMAP server settings while using stored credentials.

Impact Analysis

An attacker could capture your IMAP password or OAuth token, gaining unauthorized access to your email account. This could lead to email interception, data theft, or further account compromise.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection requirements or HIPAA's safeguards for protected health information. Organizations may face compliance breaches and legal consequences.

Mitigation Strategies

Update Paperless-ngx to the latest version. Restrict object-level change_mailaccount permissions to trusted users. Review IMAP server logs for unauthorized connection attempts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-71244. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart