CVE-2026-129925
published medium CVSS 4.0 · 6.3Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | Ruby Driver2.0.0 to < 2.26.2 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | mongodb · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | Ruby Driver | 2.0.0 to < 2.26.2 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-158 CWE-158: Improper Neutralization of Null Byte or NUL Character
References
1Provider assertions
2mongodb · cna
Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8a59c40b7024838c6e93039f540175b7abd3b270c6fc7f20dfbe608c745752f5
- Ingested
- 19 Nov 2026, 21:17:33 UTC
- Source record
- Official CVE record