Skip to main content

MongoDB C Driver CVE-2026-120684

| EUVDEUVD-2026-116134 MEDIUM
Use of Uninitialized Resource (CWE-908)
2026-11-03 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 as low-privileged DB user with write access
  2. Delivery
    Arrange GridFS legacy file conditions
  3. Exploit
    Trigger uninitialized memory stored as file content
  4. Execution
    Application appends, writing process memory to record
  5. Impact
    Read record to disclose leaked credentials

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization
Exploitation Conditions

Exploitation requires the legacy GridFS file-handling code path of the MongoDB C Driver to be in use, plus an authenticated database user holding ordinary write access to a shared GridFS storage area (PR:L). The attacker must arrange conditions (CVSS AT:P) under which a separate application later appends to the affected file and writes the uninitialized process memory into records the same user can read - so the attack is not fully attacker-controlled and depends on application append behavior. Limiting factors: requires valid low-privilege authentication, a shared storage area the attacker can both write and read, applications using the vulnerable legacy GridFS append path, and the specific affected C Driver version; the disclosed content is whatever happens to be in process memory, so the leak of sensitive data such as credentials is opportunistic rather than guaranteed.

Impact

This is a moderate, authenticated information-disclosure issue rather than an urgent widespread threat. The MongoDB-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N) scores 6.0 and the signals are internally consistent: network reachable but requiring an authenticated database user with low privileges (PR:L) and an attack requirement (AT:P) - meaning the attacker must arrange specific conditions that are not fully under their control, which is why this is not a simple point-and-shoot flaw. Confidentiality impact is High (uninitialized process memory, potentially including credentials, can leak) while integrity and availability are untouched (VI:N/VA:N). No EPSS score, no CISA KEV listing, and no public exploit were provided; the only reference is a MongoDB Jira ticket, not a proof-of-concept. The vuln.today decision label is 'this_month', not act_now/emergency, consistent with a real but non-critical priority. The main caveat: exploitation depends on a specific legacy GridFS usage pattern and a cooperating application append path, so real-world exploitability is narrower than the CWE-908 'memory disclosure including credentials' description alone might suggest - the leak is probabilistic and depends on what happens to reside in process memory. No key signals conflict, but the absence of EPSS and any fixed-version data limits precision.

Exploit ScenarioDerived

A database user who holds ordinary write access to a shared GridFS storage area crafts file-handling conditions so that the legacy GridFS code path stores uninitialized C Driver process memory as file content. When an application later appends to that file, the leaked memory - potentially including credentials from the application's process - is written into records the same user is permitted to read, exposing it. No public exploit identified at time of analysis; the only reference is a MongoDB Jira issue.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet

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

Alert me

AnalysisAIv1 – Nov 03, 2026

Uninitialized-memory disclosure in the MongoDB C Driver's legacy GridFS file handling allows an authenticated database user with ordinary write access to a shared GridFS storage area to set up conditions under which a separate application later appends to the affected file, causing bytes left over in the application's process memory - potentially including credentials - to be written into records that same user is permitted to read. Because the trigger depends on that second application's append behavior and on the legacy code path being in use, the leak is opportunistic rather than guaranteed and the issue is a moderate, authenticated information-disclosure risk rather than an urgent widespread threat. No public exploit code and no confirmed active exploitation were identified at time of analysis; the vendor tracks the defect as CDRIVER-6508.

RemediationAI

The supplied data does not identify an exact fixed driver version; the authoritative tracking reference is MongoDB JIRA CDRIVER-6508 (https://jira.mongodb.org/browse/CDRIVER-6508), which should be monitored for the release that corrects the legacy GridFS initialization path - moving to that build is the complete fix, since the defect sits inside the driver's own file-handling code and cannot be corrected by server-side configuration. In the interim, reduce exposure by taking applications off the driver's legacy GridFS file-handling path where an alternative write path exists, and by tightening who can write to shared GridFS storage areas: the attack preconditions are an authenticated user with ordinary write access (PR:L) to the same shared storage area a victim application writes to, so removing untrusted writers from shared buckets, or segregating tenants into separate databases and collections, eliminates that precondition. Both carry trade-offs - changing the storage path requires application code changes and possible data migration, while restricting shared write access can break multi-tenant workflows that depend on a common GridFS namespace. Because the leaked content is whatever happens to be in process memory and cannot be predicted, credentials held by processes that use the affected driver should be considered potentially exposed and rotated once the patched driver is in place.

Affected VersionsENISA

C Driver 1.25.0 ≤1.30.14
C Driver 2.0.0 ≤2.5.7

Affected Packages

euvd c_driver no fix

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

GridFS is MongoDB's convention for storing files larger than the 16 MB BSON document limit, splitting content into chunk records under fs.chunks with metadata under fs.files, and the MongoDB C Driver implements client-side handling for reading and writing those files. CWE-908 (Use of Uninitialized Resource) describes the root cause: the legacy GridFS file-handling path can pass along a buffer whose contents were never initialized, so whatever bytes already occupy the process's memory are treated as valid file content and committed to the server as chunk data. The affected CPE entry (cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:*) is unconstrained in the supplied data, so a specific vulnerable version range is not enumerated. This is not a direct read primitive: the attacker cannot select what is disclosed, and the leak materializes only when a separate application using the same driver subsequently appends to the affected file and persists the stale memory into records the attacker can read. The assessed vector (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N) reflects those dependencies - low-privilege authentication is required, the outcome hinges on another application's append behavior and on the legacy code path being in active use, and the impact is confidentiality-only.

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:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Authenticated low-privilege DB user (PR:L) must arrange application- and memory-dependent conditions not under attacker control (AC:H); impact is memory disclosure only (C:H, I:N, A:N).

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/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
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A memory-initialization flaw in the legacy GridFS file handling of the MongoDB C Driver can cause uninitialized process memory to be treated as valid file content and stored on the server. A database user holding ordinary write access to a shared storage area can arrange conditions under which an application later appends to such a file and writes that memory into records the same user is permitted to read, which may result in unintended disclosure of sensitive information from the application's process, including credentials.

Threat Intelligence Overview

Prevalence
Medium
widely used MongoDB driver, but legacy GridFS feature narrows real exposure
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

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 N/A
Patch available No
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

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