CVE-2026-129931
Credential exposure via unmasked connection string in driver parse-error messages for the Java driver
Medium · 5.7Fix available
- CVSS
- 5.7
- EPSS
- 0.13% (p3)
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- MongoDB Java Driver
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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.
Fixed in
5.15.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Java Driver | >=3.1.0, <5.15.0 | 5.15.0 |