CVE-2026-129925 Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Ubuntu
Description
The MongoDB Ruby 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.
Upgrade path
5 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/ruby-mongo(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-mongo(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-mongo(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-mongo(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| MongoDB Ruby Driver | >= 2.0.0, < 2.26.2 | 2.26.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | >= 2.0.0, < 2.26.2 | 2.26.2 |
| ubuntu/ruby-mongo(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/ruby-mongo(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ruby-mongo(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/ruby-mongo(Ubuntu:26.10) | All versions | No fix listed |
References
- jira.mongodb.org
- ENISA EUVD EUVD-2026-130683 third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org