Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to application with low-privilege credentials
-
DeliveryIdentify application endpoint forwarding user-supplied file identifier to GridFS
-
ExploitCraft structured identifier containing MongoDB query operators
-
ExecutionSubmit crafted identifier to GridFS operation endpoint
-
PersistDriver evaluates operator as query condition matching multiple documents
-
ImpactRead unauthorized file content OR delete all bucket chunks rendering data unreadable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
|
| Exploitation Conditions | The attacker must be authenticated to the application with at least low-level privileges (PR:L per CVSS 4.0). The critical attack-enabling condition (AT:P) is that the affected application must accept a user-supplied value and forward it directly - without casting to a strongly typed ObjectId or otherwise sanitizing it - as a file identifier to the MongoDB C Driver's GridFS component. Applications that generate file identifiers server-side or that strictly parse and validate user input before passing it to GridFS are not vulnerable. The exploitation is scoped entirely to GridFS operations (download, delete, rename) on the affected bucket; other MongoDB collection operations and driver components are not directly at risk from this specific injection path. Exploitation does not require direct database access - only access to an application endpoint that wraps GridFS operations. |
| Impact | The CVSS 4.0 score of 6.1 with vector AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H is well-calibrated. The AT:P metric is the critical risk-moderating factor: exploitation requires that the affected application actually passes user-controlled values - without strong typing or sanitization - as file identifiers to the GridFS driver. Deployments that internally generate identifiers (e.g., server-assigned ObjectIds) or validate/cast input before passing it to GridFS are not exploitable. The VI:H and VA:H scores reflect genuinely severe outcomes: bulk chunk deletion can permanently destroy all files in a bucket, and misdirected renames affect integrity broadly. The VC:L score (not VC:H) reflects that the attacker may retrieve file content beyond their scope, but the query structure limits the blast radius compared to a full credential-based disclosure. EPSS score is not provided in available data. No KEV listing and no known POC exist. The single reference (MongoDB JIRA CSHARP-6190) does not include a public-facing vendor security advisory or confirmed fixed version, which reduces confidence in remediation specifics. |
| Exploit ScenarioDerived | An attacker authenticated to a .NET web application that exposes a GridFS file-download or delete endpoint - where the application passes the user-supplied file ID directly to the C Driver - submits a crafted JSON-structured identifier such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
NoSQL injection in the GridFS component of the MongoDB C
Driver allows an authenticated low-privilege attacker who can influence file identifiers passed by an affected application to execute query-condition attacks against GridFS bucket operations. Exploitation can yield unauthorized read access to stored file content, complete destruction of all file chunks in the affected bucket (rendering all stored content unrecoverable), or misdirection of rename operations to unintended files. No public exploit has been identified at time of analysis; the CVSS 4.0 score of 6.1 reflects the AT:P (attack-requirements present) constraint that the vulnerable application must forward user-controlled identifiers to the driver without sanitization.
RemediationAI
The primary remediation reference is MongoDB JIRA CSHARP-6190 (https://jira.mongodb.org/browse/CSHARP-6190); a confirmed fixed version of the MongoDB C
Driver is not available from the data provided. Until a patched version is confirmed, application-level mitigations should be applied immediately: (1) Cast or parse all user-supplied file identifiers to a strongly typed MongoDB ObjectId before passing them to the GridFS driver - reject any input that cannot be parsed as a valid ObjectId, which eliminates the injection vector entirely. (2) Audit all application code paths where user-controlled data flows into GridFS find, download, delete, and rename operations and ensure no raw structured values reach the driver. (3) Apply the principle of least privilege to GridFS bucket access - restrict which application roles can invoke deletion or rename operations. Monitor the MongoDB JIRA ticket and the MongoDB C
Driver release notes (NuGet: MongoDB.Driver) for a patched release.
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 chunked file storage specification, implemented in the C
Driver (cpe:2.3:a:mongodb:c#_driver:*:*:*:*:*:*:*:*) as a higher-level abstraction over the files and chunks collections. The root cause (CWE-943: Improper Neutralization of Special Elements in Data Query Logic) is a NoSQL injection pattern: when the driver constructs MongoDB query documents using a caller-supplied file identifier, it does not enforce that the value is treated as a literal (e.g., a typed ObjectId). A structured value containing MongoDB query operators - such as {"$gt": ""} or {"$exists": true} - is instead interpreted as a query condition, allowing it to match multiple documents. This affects GridFS operations including file download (confidentiality), chunk deletion (availability), and rename (integrity). The JIRA project prefix CSHARP-6190 confirms this is the C
driver, a distinct product from the MongoDB C Driver (libmongoc).
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:L/VI:H/VA:H/SC:N/SI:N/SA:N
AC:H reflects AT:P prerequisite - application must forward unsanitized user-controlled identifiers to GridFS; PR:L for authenticated low-privilege attacker; I:H/A:H for bulk deletion and rename impact.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
DescriptionCVE.org
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB C
Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable. The affected rename operation may also rename a stored file other than the intended target.
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.
NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
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
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
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
EUVD-2026-75639
GHSA-m8p4-wmg5-p4x3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB