
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-129935 is a NUL character injection vulnerability in the MongoDB Go Driver affecting its SASL PLAIN authentication message construction. The driver fails to neutralize NUL (null byte) characters embedded in username or password values, allowing an attacker who controls login credentials passed to the driver to manipulate field boundaries within the SASL PLAIN message. This can cause the receiving authentication system to interpret a different username or secret than what the application intended. Affected products include go.mongodb.org/mongo-driver (v1.x, all versions from 1.0.0) and go.mongodb.org/mongo-driver/v2 (versions 2.0.0 through 2.10.0). It carries a CVSS v3.1 base score of 3.7 (Low) and a CVSS v4.0 base score of 6.3 (Medium) (Feedly, EUVD).
The root cause is classified as CWE-158 (Improper Neutralization of Null Byte or NUL Character). SASL PLAIN authentication encodes credentials as a null-byte-delimited string in the format \0username\0password; because the MongoDB Go Driver does not strip or reject embedded NUL characters in user-supplied username or password strings, an attacker who controls those values can inject additional NUL bytes to shift field boundaries within the constructed message. This maps to CAPEC-52 (Embedding NULL Bytes) and CAPEC-53 (Postfix, Null Terminate, and Backslash). Exploitation requires the attacker to control the login values supplied to the driver and the deployment to use SASL PLAIN authentication; no network-level unauthenticated access to the driver internals is required beyond influencing the application's credential inputs (Feedly, MongoDB JIRA).
Successful exploitation can cause the MongoDB server to authenticate a request under a different account name than the application intended, potentially granting access to data or operations associated with that alternate account. However, the attacker must still supply the correct password for the target account, significantly limiting the practical impact. There is no confidentiality or availability impact assessed; the integrity impact is rated Low and is scoped to the vulnerable system only (Feedly).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported for this vulnerability. The EPSS score is 0.0, and NVD's SSVC assessment classifies exploitation as "none" and the vulnerability as not automatable. It is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires high attack complexity, including the ability to control credential values passed to the driver and knowledge of the target account's password (Feedly, EUVD).
legituser\x00targetuser) to shift the field boundaries in the SASL PLAIN message (\0username\0password).MongoDB has released a fix in go.mongodb.org/mongo-driver/v2 version 2.10.1; users of the v2 module should upgrade to this version or later. For the v1 module (go.mongodb.org/mongo-driver), all versions from 1.0.0 onward are listed as affected with no upper bound fix indicated — users should migrate to the v2 module and upgrade to 2.10.1. As a workaround, deployments should avoid using SASL PLAIN authentication where possible, or ensure that application logic strictly validates and sanitizes credential inputs to reject any values containing NUL characters before passing them to the driver (Feedly, MongoDB JIRA).
Fix availability across major Linux distributions and their releases.
bookworm
golang-mongodb-mongo-driver
sid
golang-mongodb-mongo-driver
trixie
golang-mongodb-mongo-driver
devel
golang-mongodb-mongo-driver
noble
golang-mongodb-mongo-driver
noble (esm-apps)
golang-mongodb-mongo-driver
resolute
golang-mongodb-mongo-driver
resolute (esm-apps)
golang-mongodb-mongo-driver
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."