Credential exposure via unmasked option value in Python driver object text output
Summary
A credential-handling weakness in the MongoDB Python Driver allows a configuration option value that protects private key material to be written in clear text into the embedding application's own output and log records when a driver object is converted to text. A party able to read that output may o...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBPython Driver |
≥ 3.1, < 4.20.1→ 4.20.1 |
4.20.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-129927 pymongo Fix available
- Ubuntu UBUNTU-CVE-2026-129927 pymongo No fixed version in this record
Original description The description as published by the source.
A credential-handling weakness in the MongoDB Python Driver allows a configuration option value that protects private key material to be written in clear text into the embedding application's own output and log records when a driver object is converted to text. A party able to read that output may obtain the credential. Obtaining it requires read access to the application's local output or log files.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- REDHAT Red Hat
- web cna@mongodb.com