Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials
- CVE-2026-129935
- GHSA-4r9j-hjvg-qm62
- EUVD-2026-130679
Description
The 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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
MongoDB GO Driver
Affected versions Fixed in from 1.0.0 onwards none stated from 2.0.0 to before 2.10.1 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.