CVE-2026-129934
published medium CVSS 4.0 · 5.7Credential exposure via unmasked option values in Go driver connection string parse errors
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | go.mongodb.org/mongo-driverGO Driver · 1.0.0 and later · Other versions: unaffected | Affected | Not stated | mongodb |
| MongoDB | — | go.mongodb.org/mongo-driver/v2GO Driver · 2.0.0 to < 2.10.1 · Other versions: unaffected | Affected | Not stated | mongodb |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
Description
The MongoDB Go driver's connection string parser includes the raw, undecoded value of a query option in the error it returns when that value contains invalid percent encodings. When the option holds a secret, such as a TLS key file password or an AWS session token, the secret appears in plain text in the error. A party with low-privileged read access to wherever the application records or displays that error may learn the secret.
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 | GO Driver | 1.0.0 and later (affected · semver)Default: unaffected | mongodb · cna |
| MongoDB | GO Driver | 2.0.0 to < 2.10.1 (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 option values in Go driver connection string parse errors
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ca214a95009b6acc8cd4a88fd6ae92c0d63ee7f3c5646e414c92522223169a3b
- Ingested
- 19 Nov 2026, 21:17:33 UTC
- Source record
- Official CVE record