CVE-2026-129931
5.7medium
Credential exposure via unmasked connection string in driver parse-error messages for the Java driver
- Severity
- 5.7medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
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
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Java Driver | from 3.1.0 before 5.15.0 | CVE List |
All scores
| mongodb | 5.7medium CVSS:4.0 | 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 |
| mongodb | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-129931 changed 2026-11-19 | CVE Terms of Use |
| NVD | CVE-2026-129931 changed 2026-11-23 | Public domain |