PatchSiren cyber security CVE debrief
CVE-2026-129927 MongoDB CVE debrief
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. This issue can lead to potential credential exposure if an attacker gains access to the application's output or log files. Defenders and developers using the MongoDB Python Driver should assess their exposure and prioritize remediation to prevent potential credential exposure.
- Vendor
- MongoDB
- Product
- Python Driver
- CVSS
- MEDIUM 5.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-19
- Original CVE updated
- 2026-11-19
- Advisory published
- 2026-11-19
- Advisory updated
- 2026-11-19
Who should care
Defenders and developers using the MongoDB Python Driver should assess exposure and prioritize remediation to prevent potential credential exposure. This includes reviewing application output and log files for potential credential exposure, verifying affected systems, and updating to version 4.20.1 or later of the MongoDB Python Driver. Security teams and vulnerability management teams should also be aware of this issue and take necessary actions to remedi
Why it matters
A credential-handling weakness in the MongoDB Python Driver allows a configuration option value protecting private key material to be written in clear text into application output and log records. Defenders and developers should assess exposure and prioritize remediation to prevent potential credential exposure.
- Potential credential exposure in application output and log files
- Requires verification of affected systems and remediation to prevent exposure
- Defenders should review application output and log files for potential credential exposure
Technical summary
The MongoDB Python Driver has a credential-handling weakness that allows a configuration option value protecting private key material to be written in clear text into application output and log records when a driver object is converted to text. This weakness can lead to potential credential exposure if an attacker gains access to the application's output or log files. Defenders should prioritize verifying and remediating affected systems, especially those with access to sensitive credentials, and review application output and log files for potential credential exposure.
Defensive priority
Defenders should prioritize verifying and remediating affected systems, especially those with access to sensitive credentials.
Recommended defensive actions
- Verify and remediate affected systems
- Review application output and log files for potential credential exposure
- Update to version 4.20.1 or later of the MongoDB Python Driver
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE record and source item provide details on the credential-handling weakness in the MongoDB Python Driver. Evidence is limited to public CVE and source-item information. Defenders should verify affected systems, review application output and log files for potential credential exposure, and update to version 4.20.1 or later of the MongoDB Python Driver. Additional verification may be required based on specific deployment configurations.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-129927 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-129927
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-129927 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-129927
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Credential exposure via unmasked option value in Python driver object text output
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/129xxx/CVE-2026-129927.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://jira.mongodb.org/browse/PYTHON-6058
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.