Credential exposure via unmasked connection string in driver parse-error messages for the Java driver
Summary
A component of the MongoDB Java Driver that processes connection configuration places credential values taken from that configuration into generated text and error output without replacing them with a placeholder, unlike other parts of the driver. A party able to read output produced by an applicati...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBJava Driver |
≥ 3.1.0, < 5.15.0→ 5.15.0 |
5.15.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-129931 mongo-java-driver No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-129931 mongo-java-driver No fixed version in this record
Original description The description as published by the source.
A component of the MongoDB Java Driver that processes connection configuration places credential values taken from that configuration into generated text and error output without replacing them with a placeholder, unlike other parts of the driver. A party able to read output produced by an application that embeds the driver may obtain database or proxy credentials in clear text.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- REDHAT Red Hat
- web cna@mongodb.com