Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply login values containing NUL characters
-
ExploitShift SASL PLAIN message field boundaries
-
ExecutionDriver transmits altered username/secret
-
ImpactReceiving system parses different credentials than supplied
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Metacharacter neutralization
|
| Exploitation Conditions | Exploitation requires that the deployment uses SASL PLAIN authentication (explicitly stated as the only affected configuration) AND that an attacker can choose the username/password values the application passes to the driver - for example, an application that forwards user-controlled credentials into MongoDB authentication. Limiting factors: non-SASL-PLAIN deployments are not affected; authenticating as a different account still requires knowledge of that account's password, so the flaw does not by itself grant access; and the vector's AC:H/AT:P reflect that successful manipulation is not trivial. No special user interaction is required (UI:N), and no local access is needed (AV:N). |
| Impact | Signals point to a genuine but moderate-priority issue rather than an urgent one. The vendor-supplied CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 6.3 (medium) and records only a low vulnerable-system integrity impact (VI:L) with no confidentiality or availability impact (VC:N/VA:N), consistent with CWE-158 (improper neutralization of a NUL character) altering field boundaries in a SASL PLAIN message rather than disclosing or destroying data. AC:H plus AT:P indicate real preconditions, not a trivially automatable flaw. The vuln.today Decision label is 'this_month' (not act_now/emergency). No EPSS score, no CISA KEV listing, and no public exploit were provided, so exploitation is neither confirmed nor shown to be widespread. A key limiting factor is stated in the description itself: authenticating as a different account still requires that account's password, which caps the practical impact. Note a tension worth verifying: the 'Information Disclosure' tag conflicts with the vendor's own VC:N (no confidentiality impact) - the primary effect is an authentication-message integrity manipulation, not data disclosure. |
| Exploit ScenarioDerived | An application forwards attacker-influenced login values (for example, user-supplied credentials) to the MongoDB Java Driver configured for SASL PLAIN authentication. The attacker embeds NUL characters in the username or password so that the constructed SASL PLAIN message's field boundaries shift, causing the receiving system to parse a login name and secret that differ from what the application intended. The attack path requires attacker-chosen inputs and SASL PLAIN, and authenticating as a different account still requires that account's password; no public exploit was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Improper neutralization of NUL characters in the MongoDB Java Driver's SASL PLAIN message construction allows a party who can influence the username or password values an application passes to the driver to shift the boundaries between the authzid, authcid and password fields of the authentication message, so the receiving server may read a login name and secret that differ from what the application supplied. Only deployments using SASL PLAIN authentication are affected, and the integrity impact is limited: authenticating as a different account still requires that account's password, so the flaw does not by itself grant access. The CVSS 4.0 score of 6.3 (AV:N/AC:H/AT:P/PR:N/UI:N, with only VI:L among impact metrics) matches an independent assessment of CVSS 3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N; no public exploit code was identified at time of analysis and the issue is not in CISA KEV, so prioritization signals place it at this_month rather than act_now.
RemediationAI
No vendor-released patch version appears in the available data; the fix status and any patched driver release should be taken from the MongoDB JIRA issue JAVA-6305 (https://jira.mongodb.org/browse/JAVA-6305), which is the only advisory reference provided, so confirm the exact fixed driver version there before upgrading. Where the driver cannot be updated immediately, the highest-value control is to move off SASL PLAIN entirely in favor of SCRAM-SHA-256 (or another mechanism supported by the deployment), which removes the affected message-construction path; the trade-off is coordinated credential and mechanism migration on both the MongoDB server and every client, and SASL PLAIN is sometimes retained for legacy external-authentication integrations, so plan the cutover rather than toggling mechanisms ad hoc. A second control that addresses the flaw directly is to reject or strip NUL (U+0000) characters from username and password values before they are handed to the driver, applied at every code path that forwards user-controlled credentials into MongoDB authentication; this eliminates the field-boundary shift but must be enforced consistently across services, since a single unvalidated path reintroduces the issue, and it will alter behavior for inputs that legitimately contain NUL, which are not valid credentials anyway. Finally, restrict which callers can influence the credential values an application passes to the driver, since the attack requires that ability; residual risk remains bounded because authenticating as a different account still requires that account's password.
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) authenticates by sending a single message composed of three fields separated by NUL (U+0000) bytes: an optional authorization identity, an authentication identity, and a password. Any NUL byte embedded inside one of the values is indistinguishable from a field separator, so a component that concatenates raw values into this buffer without validating them can produce a message whose field boundaries differ from the caller's intent. CWE-158 (Improper Neutralization of Null Byte or NUL Character) is the exact root-cause class here: the MongoDB Java Driver builds the SASL PLAIN message from caller-supplied user name and password strings and, per the description, does not neutralize NUL characters within them. Because Java strings can legitimately hold U+0000 and retain it through UTF-8 encoding, validation must be explicit. The CVSS 4.0 vector's AT:P (attack requirements present) and AC:H reflect that the attacker must be positioned to choose the credentials an application forwards to the driver and that manipulation of the parsed identity is not straightforward; the vector is PR:N and UI:N, so no privileges on the target and no user interaction are prerequisites. The CPE entry cpe:2.3:a:mongodb:java_driver:*:*:*:*:*:*:*:* carries no version bound, so the affected range is defined only by the vendor's JAVA-6305 tracking issue; non-SASL-PLAIN authentication paths in the same driver are explicitly outside the affected configuration.
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
NUL injection alters SASL PLAIN field boundaries (integrity, I:L); needs SASL PLAIN plus attacker-chosen login values (AC:H); no confidentiality or availability impact and no scope change.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
The MongoDB Java 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-130716
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB