CVE-2026-129927
Credential exposure via unmasked option value in Python driver object text output
5.7
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| python driver | mongodb | 3.1 → <4.20.1 | 4.20.1 | CVE.org |