The MongoDB Go driver's connection string parser includes the raw, undecoded value of a query...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBGO Driver |
≥ 2.0.0, < 2.10.1→ 2.10.1 |
2.10.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-129934 golang-mongodb-mongo-driver No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-129934 golang-mongodb-mongo-driver No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- REDHAT Red Hat
- web cna@mongodb.com
- web nvd.nist.gov
- web github.com