Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged DB user with write access
-
DeliveryArrange GridFS legacy file conditions
-
ExploitTrigger uninitialized memory stored as file content
-
ExecutionApplication appends, writing process memory to record
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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).
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
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
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
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
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
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
EUVD-2026-116134
NVD
CVE.org
GitHub PoC
Exploit-DB