CVE-2026-129934

NameCVE-2026-129934
DescriptionThe 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1154608

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-mongodb-mongo-driver (PTS)bookworm1.8.4+ds1-3vulnerable
trixie1.17.1+ds1-2vulnerable
forky, sid1.17.9+ds1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-mongodb-mongo-driversource(unstable)(unfixed)1154608

Notes

https://jira.mongodb.org/browse/GODRIVER-4110
https://github.com/mongodb/mongo-go-driver/security/advisories/GHSA-3c2m-3gh6-65rx
Fixed by: https://github.com/mongodb/mongo-go-driver/commit/7f963bcd9dfce78eaab624f2ccc5adee98444834 (v2.10.1)

Search for package or bug name: Reporting problems