CVE-2026-129927
Credential exposure via unmasked option value in Python driver object text output
Medium · 5.7Fix available
- CVSS
- 5.7
- EPSS
- 0.15% (p4)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- MongoDB Python Driver
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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.
Fixed in
4.20.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Python Driver | >=3.1, <4.20.1 | 4.20.1 |