Credential-handling Weakness in MongoDB Python Driver
CVE-2026-129927

5.7MEDIUM

Key Information:

Vendor

Mongodb

Vendor
CVE Published:
19 November 2026

What is CVE-2026-129927?

A configuration flaw in the MongoDB Python Driver can lead to sensitive credential information being written in plain text in application logs. When a driver object is converted to a string, the security of private key material is compromised, allowing unauthorized access to this data for anyone who can read the application's output or log files. This issue presents potential risks to the confidentiality of sensitive information, reinforcing the need for secure coding practices and stringent access controls.

Affected Version(s)

Python Driver 3.1 < 4.20.1

References

CVSS V4

Score:
5.7
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.