Skip to main content

MongoDB Python Driver EUVDEUVD-2026-130685

| CVE-2026-129926 MEDIUM
Improper Neutralization of Null Byte or NUL Character (CWE-158)
2026-11-19 mongodb
6.3
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control credential values passed to driver
  2. Delivery
    Embed NUL bytes in username/password
  3. Exploit
    Driver builds SASL PLAIN auth message
  4. Execution
    NUL shifts field boundaries
  5. Impact
    Server 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Python Driver 2.6 <4.20.1

Affected Packages

euvd python_driver fix: 4.20.1

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

Vendor (mongodb) PRIMARY 6.3 MEDIUM
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
vuln.today AI 3.7 LOW

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 19, 2026 - 21:19 EUVD

DescriptionCVE.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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular official MongoDB Python driver, but only SASL PLAIN deployments affected
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

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

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy