Paperless-ngx - Mail Account Test Connection Leaks Stored IMAP/OAuth Credentials to Attacker-Controlled Host
paperless-ngx
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| paperless-ngx paperless-ngx |
| No fix yet |
Original 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.
From the CVE record · TuranSec