CVE-2026-129927

published 19 Nov 2026 · updated 23 Nov 2026

Credential exposure via unmasked option value in Python driver object text output

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Python Driver 4.20.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBPython Driver>=3.1 <4.20.14.20.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-129927 severity on Zeptric[![CVE-2026-129927](https://zeptric.io/badge/cve/CVE-2026-129927.svg)](https://zeptric.io/cve/CVE-2026-129927)