MongoDB Rust Driver SASL PLAIN NUL-byte injection causes identity confusion
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
The MongoDB Rust Driver does not neutralize NUL characters in the user name and password values it places into the SASL PLAIN authentication message (CWE-158). An attacker who controls the login values an application passes to the driver can shift where the message fields begin and end, so the receiving system may read a login name and secret that differ from those the application supplied. Authenticating as a different account still requires that account's password. Only deployments that use SASL PLAIN are affected, and the CVSS 4.0 base score is 6.3 (MEDIUM).
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MongoDB | Rust Driver | 1.2.0 to before 1.2.5; 2.0.0-alpha to before 2.8.2; 3.0.0-beta to before 3.10.2 | 1.2.5, 2.8.2, 3.10.2 | Patch available | CNA |
- Rust Driver VendorMongoDB Affected 1.2.0 to before 1.2.5; 2.0.0-alpha to before 2.8.2; 3.0.0-beta to before 3.10.2 Fixed in 1.2.5, 2.8.2, 3.10.2 Patch available CNA
Remediation
Upgrade the MongoDB Rust Driver to 1.2.5, 2.8.2 or 3.10.2, matching the release line in use, since the ranges 1.2.0 before 1.2.5, 2.0.0-alpha before 2.8.2 and 3.0.0-beta before 3.10.2 are affected. Red Hat rates the issue Low and lists the Logging Subsystem for Red Hat OpenShift as affected without a fix, with no plan available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA Rust Driver (MongoDB) Fixed in 1.2.5, 2.8.2, 3.10.2
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Logging Subsystem for Red Hat OpenShift | Affected | No fix yet: Fix deferred |
Timeline
- 2026-11-19 Threatist record created from CVE-2026-129923
- 2026-11-19 CISA SSVC decision points changed
- 2026-11-19 Alias added: GHSA-975g-87mm-x4q2
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
References
More MongoDB vulnerabilities
- TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
- TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-129923 · CVE Program
- CVE-2026-129923 · NVD
- FIRST EPSS
- GHSA-975g-87mm-x4q2 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-129923 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences