CVE-2026-129931
published medium CVSS 4.0 · 5.7Credential exposure via unmasked connection string in driver parse-error messages for the Java driver
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | Java Driver3.1.0 to < 5.15.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.7 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.7 | medium | mongodb · cna | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | Java Driver | 3.1.0 to < 5.15.0 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-209 CWE-209: Generation of Error Message Containing Sensitive Information
References
1Provider assertions
2mongodb · cna
Credential exposure via unmasked connection string in driver parse-error messages for the Java driver
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8794e89935e961738a29054c9fbcbfcb615c345572ffb6aaede67a902a359e78
- Ingested
- 19 Nov 2026, 21:17:33 UTC
- Source record
- Official CVE record