Skip to content
OpenAdvisories
Medium · 4.7 CVE-2026-129934 EUVD-2026-130680GHSA-54xf-g24w-wfvg

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

Published Nov 19, 2026 · Updated Nov 19, 2026 · 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 products

VendorProductAffectedFixed
MongoDB GO Driver 1.0.0, 2.0.0 – < 2.10.1 2.10.1

Advisories 1

References