Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials
- CVE-2026-129929
- GHSA-hwj4-3vj7-g85r
- EUVD-2026-130677
Description
The MongoDB Node.js 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.
Text from the CVE.org record.
Recommendation
MongoDB Node.js Driver
- If you run a version before 7.9.1update to 7.9.1 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
MongoDB Node.js Driver
Affected versions Fixed in before 7.9.1 7.9.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.