The MongoDB Go Driver does not neutralize NUL characters in the user name and password values it...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBGO Driver |
≥ 2.0.0, < 2.10.1→ 2.10.1 |
2.10.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-129935 golang-mongodb-mongo-driver No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-129935 golang-mongodb-mongo-driver No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- REDHAT Red Hat
- web cna@mongodb.com
- web nvd.nist.gov
- web github.com