← VULNERABILITIES

CVE-2026-129934

Credential exposure via unmasked option values in Go driver connection string parse errors

Medium · 5.7Fix available
CVSS
5.7
EPSS
0.13% (p3)
Published
2026-11-19
Age
15d old
Modified
2026-11-23
Product
MongoDB GO Driver

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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.

Fixed in

* · 2.10.1

Affected packages

EcosystemPackageRangeFixed
vendorgo.mongodb.org/mongo-driver>=1.0.0, <**
vendorgo.mongodb.org/mongo-driver/v2>=2.0.0, <2.10.12.10.1

Sources

  • NVD · first seen 15d ago · NVD terms of use
  • CVE List · first seen 15d ago · CVE Terms of Use

References

JSON