Skip to main content

MongoDB Java Driver CVE-2026-129933

| EUVDEUVD-2026-130716 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
    Supply login values containing NUL characters
  2. Exploit
    Shift SASL PLAIN message field boundaries
  3. Execution
    Driver transmits altered username/secret
  4. Impact
    Receiving 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.

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

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

Alert me

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

Java Driver 3.6.0 <5.15.0

Affected Packages

euvd java_driver fix: 5.15.0

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

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

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.

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
Red Hat 3.7 LOW

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 - 22:19 EUVD

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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
official MongoDB Java driver, common in enterprise Java apps, SASL-PLAIN-only
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.2%
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-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

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

Vendor StatusVendor

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