CVE-2026-129934
JSON

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 packageVersionsReported by
go.mongodb.org/mongo-driverfrom 1.0.0 before *CVE List
go.mongodb.org/mongo-driver/v2from 2.0.0 before 2.10.1CVE List

All scores

mongodb5.7medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
mongodb4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-209

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-129934 changed 2026-11-19CVE Terms of Use
NVDCVE-2026-129934 changed 2026-11-23Public domain