CVE-2026-129934
Credential exposure via unmasked option values in Go driver connection string parse errors
- Severity
- medium CVSS 5.7 (v4.0)
- Affects
- GO Driver · MongoDB
- Weakness
- CWE-209: Generation of Error Message Containing Sensitive Information
- Published
- 19 November 2026 by mongodb
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.