Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl credential values passed to driver
-
ExploitInject NUL byte into SASL PLAIN username/password
-
ExecutionShift message field boundaries
-
ImpactServer parses altered login identity
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Metacharacter neutralization
|
| Exploitation Conditions | Exploitation requires the deployment to use the SASL PLAIN authentication mechanism - the description states only SASL PLAIN deployments are affected, so any other auth mechanism is immune. The attacker must also be able to choose or influence the username or password values that the application passes to the MongoDB Go Driver (e.g., credentials relayed from untrusted/user-controlled input). A key limiting factor stated in the source is that authenticating as a different account still requires that account's actual password, so this is field-boundary manipulation of the SASL PLAIN message rather than a credential or authentication bypass. AC:H and AT:P in the vendor vector reflect these non-default prerequisites. |
| Impact | This is a moderate-severity, low-urgency issue rather than a top priority. The vendor CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 6.3 and critically caps impact at VC:N/VI:L/VA:N - no confidentiality or availability impact and only LOW integrity impact - reflecting that the flaw lets an attacker shift SASL PLAIN message field boundaries but does not by itself grant access, since the description explicitly notes that authenticating as a different account still requires that account's password. AC:H and AT:P signal that exploitation is not straightforward: it requires both a specific deployment (SASL PLAIN) and attacker control over the login values the application forwards. No EPSS score, KEV listing, or SSVC exploitation data was supplied in the input, and no public exploit is referenced - the only reference is a MongoDB Jira advisory (GODRIVER-4120). The vuln.today priority is 'this_month,' consistent with a real but non-emergency defect. The main signal worth noting is the tension between the 'Information Disclosure' tag and the vendor's own VC:N (no confidentiality impact) rating, which points instead to an authentication-identity/integrity issue; treat the disclosure framing with caution. |
| Exploit ScenarioDerived | An application using the MongoDB Go Driver with SASL PLAIN authentication passes externally-influenced username or password values (for example, credentials proxied from an upstream source) to the driver. An attacker who controls those values embeds a NUL character so that the receiving authentication system parses a login name and secret that differ from what the application supplied, causing the server to interpret a different account identity. No public exploit code is identified at time of analysis, and completing authentication as a different account still requires that account's valid password. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
NUL-byte injection into the SASL PLAIN authentication message built by the MongoDB Go Driver lets a party who can choose the login values an application passes to the driver shift the boundary between the username and password fields, so a receiving system may read a login name and secret that differ from what the application supplied. Only deployments that authenticate with SASL PLAIN are exposed; other mechanisms are outside the flaw, and authenticating as a different account still requires that account's actual password, so this is field-boundary manipulation rather than a credential or authentication bypass. The vendor rates it 6.3 (CVSS 4.0, AV:N/AC:H/AT:P/PR:N/UI:N, integrity-only), our independent assessment concurs with a moderate, low-urgency, integrity-only rating, and no public exploit has been identified at time of analysis.
RemediationAI
No released patched driver version is identified in the supplied data; the fix is tracked in the vendor issue GODRIVER-4120 (https://jira.mongodb.org/browse/GODRIVER-4120), which should be consulted for the corrected release on each maintained branch before upgrading, and the driver should be upgraded as soon as a fixed version is published for the branch in use. Until then, the most direct compensating control follows from the vendor's own scoping statement that only SASL PLAIN deployments are affected: move the connection to a different authentication mechanism, such as SCRAM-SHA-256, which the Go Driver uses by default, accepting the trade-off that every user must be provisioned for that mechanism on the server and that any peer which only offers PLAIN will lose connectivity. If SASL PLAIN must be retained, treat the credential values as untrusted input: reject or strip NUL bytes from usernames and passwords before populating credential.Credential or the connection string, and avoid relaying attacker-influenced strings directly into driver credentials, with the trade-off that this only closes the paths where the application itself controls and validates those values and will refuse any legitimate secret containing a NUL byte.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the official MongoDB Go Driver (mongo-driver), which implements the client side of MongoDB authentication. SASL PLAIN (RFC 4616) is a simple username/password mechanism whose client response is a single message with three NUL-delimited fields: an optional authorization identity, the authentication identity, and the password. Because the NUL byte is the field separator, any NUL that survives inside a username or password can be interpreted as a delimiter, which is exactly the defect class described by CWE-158 (Improper Neutralization of Null Byte or NUL Character): the driver does not neutralize NUL characters in the user name and password values it places into the message, so a party able to choose those values can alter where the message's fields begin and end. The CPE entries for cpe:2.3:a:mongodb:go_driver use wildcard versions, so the supplied data does not pin the affected version range or the release that carries the fix; the vendor's tracking issue is GODRIVER-4120. Per the vendor, scope is limited to SASL PLAIN deployments, and the impact is a mismatch between the identity the application intended and the identity the server parses, with the practical ceiling set by the fact that the substituted account's password is still required. The sources do not describe any further trigger mechanics beyond the requirement that the attacker influence the credential values the application hands to the driver.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Attacker supplies unauthenticated input (PR:N) but needs SASL PLAIN plus control of login values, so AC:H; impact is limited to altering parsed identity fields (I:L) with no C or A impact.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
EUVD-2026-130679
GHSA-4r9j-hjvg-qm62
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB