CVE-2026-129935
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 | — | go.mongodb.org/mongo-driverGO Driver · 1.0.0 and later · Other versions: unaffected | Affected | Not stated | mongodb |
| MongoDB | — | go.mongodb.org/mongo-driver/v2GO Driver · 2.0.0 to < 2.10.1 · Other versions: unaffected | Affected | Not stated | mongodb |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
Description
The 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. 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 | GO Driver | 1.0.0 and later (affected · semver)Default: unaffected | mongodb · cna |
| MongoDB | GO Driver | 2.0.0 to < 2.10.1 (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
- ea4d25c2b025e8ef3c3c77af85b44aafb77d4fb23224444fd449546b995706bc
- Ingested
- 19 Nov 2026, 21:17:33 UTC
- Source record
- Official CVE record