Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl login values passed into driver
-
ExploitEmbed NUL characters in username/password
-
ExecutionShift SASL PLAIN field boundaries
-
ImpactServer parses attacker-altered credential fields
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Metacharacter neutralization
|
| Exploitation Conditions | Exploitation is limited to deployments where the application authenticates to MongoDB using SASL PLAIN; all other authentication mechanisms are unaffected. It further requires that an attacker can choose the username and/or password values the application passes into the driver (such as a service that relays end-user-supplied credentials into MongoDB auth). Key limiting factors: the CVSS AC:H and AT:P indicate the attack depends on specific, attacker-uncontrolled conditions; the impact is bounded to integrity of the credential fields (VI:L), and the description explicitly states that authenticating as a different account still requires that account's password, preventing direct impersonation from this flaw alone. Authentication to the target is not required (PR:N per the supplied vector). |
| Impact | Signals point to a genuine but modest, conditional risk rather than an urgent widespread threat. The input CVSS 4.0 score is 6.3 (medium) with AV:N but AC:H and AT:P, meaning network-reachable yet requiring both high complexity and a present-but-attacker-uncontrolled condition; impact is limited to VI:L (low integrity) with no confidentiality or availability impact, consistent with CWE-158 (improper neutralization of a NUL character) corrupting SASL PLAIN message framing rather than yielding code execution. No EPSS score was provided, so exploitation probability cannot be quantified from the input. The vulnerability is not in CISA KEV and there is no public exploit identified at time of analysis - the single reference is a MongoDB Jira tracker (NODE-7828), an advisory/tracking link, not working exploit code. The vuln.today Decision label is 'this_month', which aligns with medium severity and no confirmed exploitation - not act_now or emergency. A key mitigating fact stated in the description bounds the impact: authenticating as a different account still requires that account's password, so this is a credential-field confusion / information-disclosure framing issue, not a direct account-takeover primitive. Net: a real issue to patch on a normal cycle for the narrow set of deployments using SASL PLAIN, not a high-CVSS-but-overhyped emergency. |
| Exploit ScenarioDerived | In an application (for example a multi-tenant service) that forwards user-chosen username and password values into the MongoDB Node.js Driver using SASL PLAIN authentication, an attacker supplies login values containing embedded NUL characters. Because the driver does not neutralize NUL in these fields, the bytes shift where the username and password boundaries fall in the SASL PLAIN message, causing the receiving system to read a login name and secret different from what the application intended. No public exploit code is identified; the high attack complexity (AC:H/AT:P) and the fact that impersonating another account still requires that account's password limit practical abuse to field-confusion/disclosure rather than takeover. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
NUL-character injection in the MongoDB Node.js Driver's SASL PLAIN authentication path lets a party who controls the username or password strings supplied to the driver shift the boundaries between the fields of the authentication message, so the receiving MongoDB server can read a login name and secret that differ from what the application intended. Only deployments that authenticate with SASL PLAIN are affected, and the flaw alone does not permit impersonation: signing in as a different account still requires that account's password, which bounds the impact to credential-field integrity. The assessed vector (AV:N/AC:H/AT:P/PR:N/UI:N with VI:L only) reflects that the attack needs specific, attacker-uncontrolled conditions - chiefly an application that relays externally chosen credentials into the driver - and no public exploit has been identified at time of analysis; the vendor tracks the issue as NODE-7828 with a this-month remediation priority.
RemediationAI
No fixed driver version is stated in the available data, so the primary action is to track MongoDB Jira NODE-7828 (https://jira.mongodb.org/browse/NODE-7828) and upgrade the mongodb Node.js driver to the release it designates as patched once published. Where SASL PLAIN is not a hard requirement, the most complete workaround is to stop using it - configure the connection to authenticate with SCRAM-SHA-256 (or another mechanism such as X.509) instead, at the cost of re-provisioning users and updating connection strings and any external credential store. Because the defect is triggered by NUL bytes in the values passed to the driver, applications that relay user-supplied credentials into MongoDB authentication should reject or strip NUL (0x00) characters from usernames and passwords at the application boundary before calling the driver; this is a narrow input-validation change whose trade-off is that any legacy credential legitimately containing a NUL byte would stop working, which is rare in practice. Architecturally, avoid passing end-user-controlled credential strings into driver authentication at all - authenticate the service with its own fixed credentials and authorize end users in application logic - since that removes the precondition the flaw depends on.
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
SASL PLAIN (RFC 4616) is a simple password authentication mechanism whose client response is a single string of three fields separated by NUL (0x00) bytes: authorization identity, authentication identity, and password. Because NUL is the field delimiter rather than escaped data, any NUL byte embedded in a username or password is interpreted by the server as the end of one field and the start of the next, letting the boundaries of the message move relative to the values the application originally supplied. The MongoDB Node.js Driver builds this message from caller-provided values without neutralizing NUL characters, which is exactly the CWE-158 (Improper Neutralization of Null Byte or NUL Character) class - an encoding/metacharacter handling defect rather than a memory-safety bug. The consequence is a parsing disagreement between the driver and the server about which bytes constitute the login name and which constitute the secret. Since the server still validates the password associated with whatever account name it parses, the practical effect is limited to integrity of the credential fields (VI:L) and does not by itself yield account takeover; the assessed AC:H and AT:P metrics encode that the outcome depends on deployment-specific conditions outside the attacker's control. The CPE entry cpe:2.3:a:mongodb:node.js_driver with wildcarded version components indicates the advisory does not pin a specific version range in the supplied data.
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
Network-reachable but attacker must control login values under specific conditions (AC:H), no privileges on the target (PR:N), and impact is limited to credential-field integrity (I:L) with no C or A impact.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
The MongoDB Node.js 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-130677
GHSA-hwj4-3vj7-g85r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB