CVE-2026-129927

NameCVE-2026-129927
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pymongo (PTS)bookworm3.11.0-1+deb12u1vulnerable
trixie4.10.1-6vulnerable
forky, sid4.19.0-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pymongosource(unstable)(unfixed)

Notes

https://jira.mongodb.org/browse/PYTHON-6058
Fixed by: https://github.com/mongodb/mongo-python-driver/commit/a663e8451e705206650a70f8ebf6386096fea041 (4.20.1)

Search for package or bug name: Reporting problems