CVE-2026-129931
Credential exposure via unmasked connection string in driver parse-error messages for the Java driver
5.7
Description
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| java driver | mongodb | 3.1.0 → <5.15.0 | 5.15.0 | CVE.org |