Skip to main content

MongoDB C++ Driver EUVDEUVD-2026-95155

| CVE-2026-106430 MEDIUM
Interpretation Conflict (CWE-436)
2026-10-08 mongodb
6.0
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with existing DB credentials
  2. Exploit
    Supply name with embedded NUL byte
  3. Execution
    Driver/app disagree on effective name
  4. Impact
    Read unintended field or rename unintended collection

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
Exploitation Conditions

Exploitation requires an authenticated actor (PR:L) holding valid database credentials, and the calling application must pass an attacker-influenced field or collection name to the MongoDB C++ Driver's collection API without rejecting embedded NUL bytes; the AT:P metric reflects that the attacker must be able to control such a name. It is limited to applications built on the affected C++ Driver that expose name input to a semi-trusted user, and the impact is scoped to the privileges of the application's existing database credentials (no privilege escalation beyond that context). It does not work against applications that sanitize or do not accept externally-influenced names, nor against other MongoDB language drivers.

Impact

This is a medium-severity (CVSS 4.0 base 6.0) interpretation-conflict flaw (CWE-436) in the MongoDB C++ Driver, best characterized as a real-but-bounded data-integrity/disclosure issue rather than a top-tier emergency. The provided CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N) shows the strongest signal is integrity (VI:H - an unintended collection can be renamed), with only limited confidentiality (VC:L - reading an unintended field) and no availability impact. The AT:P (attack-requirements present) metric and PR:L both temper the risk: exploitation is not against arbitrary targets but requires an authenticated actor who can already influence a name the application passes to the collection API, using the application's existing credentials - so this is primarily a privilege/trust-boundary bypass within an already-authenticated context, not a pre-auth remote takeover. No EPSS score, KEV listing, or POC was provided in the input; absence of these is not evidence either way but means there is no public signal of active exploitation or weaponization. Net: treat as a prioritized patch for applications that pass externally-influenced names to the MongoDB C++ Driver, but it does not carry the automatable, widespread-exploitation profile of a critical bug. Note one input inconsistency: the Tags list 'C Driver' and 'Information Disclosure', yet the CPE (c++_driver), description, and JIRA references (CXX-*) all indicate the C++ Driver and the dominant impact is integrity, not disclosure - verify tagging against the vendor record.

Exploit ScenarioDerived

An application using the affected MongoDB C++ Driver accepts a field or collection name derived from user-controllable input and passes it to the collection API. An authenticated user supplies a name containing an embedded NUL byte (e.g. 'reports\0secret'), causing the driver and application to disagree on the effective name, so the operation reads from an unintended field or renames an unintended collection using the app's own database credentials. No public exploit code was identified at time of analysis; realistic abuse requires the attacker to influence a name reaching the API (reflected by AT:P and PR:L).

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 – Oct 08, 2026

Embedded NUL bytes in field and collection names are silently discarded by the MongoDB C++ Driver, causing the driver and the calling application to resolve the same name to different targets. An authenticated actor (CVSS 4.0 vector includes PR:L, i.e. valid database credentials are required) who can influence a name passed to the driver's collection API can make the application read values from an unintended field or rename an unintended collection, operating strictly within the privileges already held by the application's database credentials. Exploitation depends on the calling application forwarding an attacker-influenced name without rejecting embedded NUL bytes; no public exploit code has been identified at time of analysis, and the issue is scoped to applications built on the affected C++ driver rather than to other MongoDB language drivers. Base score is 6.0 (CVSS 4.0), assessed as a bounded data-integrity/disclosure issue rather than a top-tier emergency.

RemediationAI

No vendor-released patch was identified at time of analysis, so remediation currently rests on compensating controls until MongoDB publishes a fixed driver release via the Jira issues CXX-3551 and CXX-3552; monitor those advisories and upgrade the C++ driver as soon as a patched version is published. In the interim, validate and reject any field or collection name containing a NUL byte (0x00) at the application boundary before it reaches the driver - this is safe because BSON element names cannot legitimately contain NUL, so a strict allowlist (for example a regex permitting only expected identifier characters) introduces essentially no false positives, at the cost of an additional validation layer and a small amount of processing overhead. Where feasible, do not allow untrusted or semi-trusted users to choose field or collection names at all, and if names must be user-influenced, map them through an application-controlled dictionary or hash rather than passing raw input to the driver; this eliminates the input vector entirely but reduces flexibility for multi-tenant or dynamic-schema designs. Additionally, restrict the database privileges granted to applications that build on the driver to the narrowest role that still functions, since any exploitation occurs under the application's own credentials, and add monitoring or alerting on unexpected reads and collection renames performed by those applications so that anomalous behavior is detected even if a fix is not yet deployed.

Affected VersionsENISA

C++ Driver 3.0.0 <4.6.1

Affected Packages

euvd c_driver fix: 4.6.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 root cause is an interpretation conflict (CWE-436): the MongoDB C++ Driver appears to treat caller-supplied field and collection names using C-string semantics, so everything after an embedded NUL byte (0x00) is dropped, while the calling application retains the full length-delimited string (for example a std::string or std::string_view) and believes it referenced a different, longer name. Because BSON keys are length-prefixed and the BSON specification does not permit NUL bytes within element names, a name such as "balance\0attacker_suffix" can be truncated by the driver to "balance" while the application's own bookkeeping, logs, or authorization checks reason about the full untruncated string - the classic confused-deputy/parsing-discrepancy pattern where two components disagree about the meaning of identical input. The impact is bounded by the application's existing database credentials (no privilege escalation beyond that context), requires the attacker to be authenticated (PR:L) and to be able to control the name value (reflected in the assessed AT:P metric), and is specific to the C++ driver implementation rather than to the MongoDB server or other language drivers. Affected product is identified by CPE cpe:2.3:a:mongodb:c++_driver (version wildcard - no explicit affected version range was published 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

Vendor (mongodb) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Network DB access with authenticated low privileges (PR:L); AC:H reflects the required NUL-byte name-interpretation condition (AT:P); integrity high from unintended collection rename, confidentiality low from reading an unintended field, no availability impact.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

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

Lifecycle Timeline

1
Patch available
Oct 08, 2026 - 20:03 EUVD

DescriptionCVE.org

The MongoDB C++ Driver discards content after an embedded NUL byte in certain field and collection names accepted by the collection API. This can cause the driver and the calling application to interpret the same name differently. An authenticated actor who can influence a name passed by an affected application can cause the application to read distinct values from an unintended field or rename an unintended collection. These operations use the application's existing database credentials.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
MongoDB C++ Driver is a common but language-specific client library, narrower than Node/Python drivers
Data Quality
4 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.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

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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-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-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

CVE-2020-7610 CRITICAL
9.8 Mar 30

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8

CVE-2026-19001 CRITICAL
9.5 Aug 12

Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or

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