MongoDBCVE-2026-129923
The MongoDB Rust Driver does not neutralize NUL characters in the user name and...
Fix: upgrade to 1.2.5 or later (3 fixed versions below)
The MongoDB Rust 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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Rust Driver Product | >= 1.2.0, < 1.2.5 | 1.2.5 |
| >= 2.0.0-alpha, < 2.8.2 | 2.8.2 | |
| >= 3.0.0-beta, < 3.10.2 | 3.10.2 |
Details and references
- CVSS 4.0
- 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
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-158
More MongoDB advisories
All MongoDBCVE-2026-129931Nov 19MongoDB Java Driver: information disclosure in errorsA component of the MongoDB Java Driver that processes connection configuration places credential values taken from that configuration into generated text and error output without replacing them with...Medium5.7Fixed in 5.15.0CVE-2026-129932Nov 19The MongoDB Java driver applies its DNS seedlist domain restriction to a record value that is later re-interpreted differently when the connection target is parsed, so the name that is checked and...Critical9.1Fixed in 5.13.0CVE-2026-129933Nov 19The 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.Medium6.3Fixed in 5.15.0CVE-2026-129934Nov 19MongoDB GO Driver: information disclosure in errorsThe MongoDB Go driver's connection string parser includes the raw, undecoded value of a query option in the error it returns when that value contains invalid percent encodings.Medium5.7Fixed in 2.10.1CVE-2026-129935Nov 19The 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.Medium6.3Fixed in 2.10.1CVE-2026-129936Nov 19MongoDB C# Driver: information disclosure in errorsA MongoDB C# Driver component that interprets connection configuration supplied by the hosting application can include the caller-supplied configuration value in the text of the error it raises when...Medium5.7Fixed in 3.14.1