CVE-2026-129934
5.7medium
Credential exposure via unmasked option values in Go driver connection string parse errors
- 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
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| go.mongodb.org/mongo-driver | from 1.0.0 before * | CVE List |
| go.mongodb.org/mongo-driver/v2 | from 2.0.0 before 2.10.1 | 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-129934 changed 2026-11-19 | CVE Terms of Use |
| NVD | CVE-2026-129934 changed 2026-11-23 | Public domain |