CVE-2026-129935
Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials
- CVSS
- 6.3
- EPSS
- 0.23% (p15)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- MongoDB GO Driver
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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.
Fixed in
* · 2.10.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | go.mongodb.org/mongo-driver | >=1.0.0, <* | * |
| vendor | go.mongodb.org/mongo-driver/v2 | >=2.0.0, <2.10.1 | 2.10.1 |