CVE-2026-129935

NameCVE-2026-129935
DescriptionThe MongoDB Go Driver does not neutralize NUL characters in the user name and password values it places into the message it builds for SASL PLAIN authentication. A party who can choose the login values that an application passes to the driver can alter where the fields of that message begin and end. This may result in a receiving system reading a login name and secret that differ from the values the application supplied. Authenticating as a different account still requires that account's password. Only deployments that use SASL PLAIN authentication are affected.
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-4120
https://github.com/mongodb/mongo-go-driver/security/advisories/GHSA-29qr-p9gm-xfvf
Fixed by: https://github.com/mongodb/mongo-go-driver/commit/82e0da9f92aff3968e0c59bb7b8c2f2a9d4d140d (v2.10.1)

Search for package or bug name: Reporting problems