# CVE-2026-129927: Credential exposure via unmasked option value in Python driver object text output

- Severity: Medium 5.7 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-11-19T19:28:11.427Z
- Modified: 2026-11-23T16:06:05.540Z
- Weaknesses: CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## Description

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.

(As written by CVE List.)

## Affected

- MongoDB Python Driver: from 3.1 before 4.20.1

## Every score

- mongodb: CVSS:4.0 5.7 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://jira.mongodb.org/browse/PYTHON-6058>

## Sources

- CVE List: [CVE-2026-129927](https://www.cve.org/CVERecord?id=CVE-2026-129927), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-129927](https://nvd.nist.gov/vuln/detail/CVE-2026-129927), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-129927 · Whole record: https://cve.day/CVE-2026-129927.json · Rebuilt by cve.day 2026-11-25T22:59:52.186Z
