Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl credential values passed to driver
-
DeliveryEmbed NUL bytes in username/password
-
ExploitDriver builds SASL PLAIN auth message
-
ExecutionNUL shifts field boundaries
-
ImpactServer parses altered login name and secret
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 use SASL PLAIN authentication specifically - no other authentication mechanism is affected - AND that a party can choose the username and/or password values the application passes into the driver (for example, an app that forwards end-user-supplied credentials verbatim). The limiting factors that reduce realistic risk: the input vector marks AC:H and AT:P, indicating the attack is not straightforward and depends on specific conditions; the impact is confined to integrity (VI:L) with no confidentiality or availability effect; and critically, per the description, authenticating as a different account still requires that account's real password, so this manipulates which identity/secret the server reads rather than granting unauthorized access on its own. Deployments not using SASL PLAIN, or that never pass externally-chosen credential values to the driver, are not exploitable. |
| Impact | The input CVSS 4.0 vector scores this 6.3 (medium) with AV:N/AC:H/AT:P/PR:N/UI:N and impact limited to VI:L (low integrity; VC:N, VA:N). The combination of AC:H and AT:P signals that successful exploitation needs non-default preconditions rather than trivial remote abuse, and the vuln.today Decision label is 'this_month' - a routine-patch priority, not act_now or emergency. This is NOT in CISA KEV, no EPSS probability was supplied, and no verified exploit code was provided (only a MongoDB Jira tracking reference). The real-world risk is constrained on three fronts: (1) only deployments using SASL PLAIN authentication are affected, (2) the attacker must be able to choose the username/password values the application forwards to the driver, and (3) per the description, authenticating as a different account still requires that account's actual password, so this is credential-field manipulation, not an authentication bypass. Signals are consistent (medium CVSS, this_month label, no KEV/EPSS, integrity-only impact) - treat as a genuine but non-urgent fix. Note: the 'Information Disclosure' tag sits awkwardly against the CVSS impact (VC:N, VI:L), which models this as an integrity/injection issue rather than a confidentiality loss; verify intended impact with the vendor advisory. |
| Exploit ScenarioDerived | An application that configures the MongoDB Python driver for SASL PLAIN authentication accepts a username and password derived from an untrusted party and forwards them to the driver. The attacker submits values containing embedded NUL characters so that the SASL PLAIN message's field boundaries shift, causing the MongoDB server to parse an authentication identity and secret different from what the application intended. No verified working exploit is published; a MongoDB Jira issue (PYTHON-6073) tracks the flaw. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
NUL-character injection into the SASL PLAIN authentication message built by the MongoDB Python Driver lets a party who controls the login values an application passes to the driver shift the boundaries between the username and password fields, so a receiving system may read credentials different from those the application supplied. Only deployments using SASL PLAIN authentication are affected, and the attacker must be able to choose the username and/or password values handed to the driver, such as an application that forwards end-user credentials verbatim. Impact is limited to low integrity (VI:L) with no confidentiality or availability effect, and authenticating as a different account still requires that account's real password; the assessed vector is AC:H/AT:P, no public exploit was identified at time of analysis, and the vendor-reported priority places remediation in the this-month window.
RemediationAI
No vendor-released patch or fixed driver version is identified in the supplied data; track MongoDB JIRA issue PYTHON-6073 (https://jira.mongodb.org/browse/PYTHON-6073) for the corrected release and upgrade the MongoDB Python Driver once a fixed version is published. Until then, the most direct exposure reduction is to stop using SASL PLAIN for driver authentication and move to another mechanism such as SCRAM, accepting the operational cost of reconfiguring server and client authentication settings where the deployment supports it. Where SASL PLAIN must remain in use, ensure applications do not pass externally chosen or end-user-supplied username and password values directly into the driver, and reject credential inputs containing NUL characters before they reach the driver, with the trade-off that any legitimate value containing an embedded NUL byte would be refused. Deployments that neither use SASL PLAIN nor allow untrusted parties to select the login values given to the driver are not exploitable per the supplied analysis.
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 flaw is CWE-158 (Improper Neutralization of Null Byte or NUL Character) in the MongoDB Python Driver's construction of the SASL PLAIN authentication payload. SASL PLAIN is a simple username/password mechanism whose message encodes an authorization identity, authentication identity and password separated by NUL bytes; because the driver does not neutralize NUL characters inside the supplied username and password, an embedded NUL can be interpreted as a field delimiter and change where the server believes each field starts and ends. The CPE cpe:2.3:a:mongodb:python_driver:*:*:*:*:*:*:*:* indicates the advisory covers the driver across versions with no narrower range published in the supplied data, and the MongoDB JIRA issue PYTHON-6073 is the tracking reference. The technology at issue is the client-side driver's authentication message assembly rather than the server's password verification: the manipulation changes which identity and secret the receiving system reads, but password checking against the target account still applies, which is why confidentiality and availability are unaffected and integrity impact is low. Deployments using other authentication mechanisms are not exposed because the vulnerable construction path is specific to SASL PLAIN.
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 auth message (AV:N) but needs attacker-chosen credential values and non-default SASL PLAIN mode (AC:H); no prior auth to the driver (PR:N); only integrity of the auth message is affected (I:L), no confidentiality or availability.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
The MongoDB Python 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
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
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
EUVD-2026-130685
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB