Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 16, 2026
Description
The MongoDB C# 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.
| Product | Versions |
|---|---|
| C# Driver MongoDB | 2.0 to before 3.14.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | mongodb | |
| 3.1 | 3.7 Low | mongodb |
Weaknesses
- CWE-158 Improper Neutralization of Null Byte or NUL Character
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.