CVE-2026-129933

NameCVE-2026-129933
DescriptionThe MongoDB Java 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)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mongo-java-driver (PTS)bookworm, trixie3.6.3-2vulnerable
forky, sid3.6.3-3vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mongo-java-driversource(unstable)(unfixed)

Notes

https://jira.mongodb.org/browse/JAVA-6305
Fixed by: https://github.com/mongodb/mongo-java-driver/commit/f31945e00e5581db94a29a9ca602384d020d0f0a

Search for package or bug name: Reporting problems