Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to application with low-privilege account
-
DeliveryCraft structured BSON value containing MongoDB query operator as file identifier
-
ExploitSubmit crafted identifier via application API to GridFS-backed endpoint
-
ExecutionDriver forwards BSON structure as query predicate without sanitization
-
PersistQuery matches unintended documents across the bucket
-
ImpactRead unauthorized file content or delete all chunk documents in the bucket
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
|
| Exploitation Conditions | Exploitation requires an authenticated user (PR:L) with the ability to influence the file identifier argument passed to a GridFS operation in an application built on the MongoDB Rust Driver. Two specific deployment conditions must be met (CVSS 4.0 AT:P): (1) the target application must use the GridFS component of the MongoDB Rust Driver, and (2) the application must forward user-controlled input as the file identifier without first deserializing or coercing it into a concrete scalar type such as |
| Impact | The CVSS 4.0 score of 6.1 (Medium) captures a meaningful tension: the integrity and availability impacts are both rated High (VI:H, VA:H) - reflecting the ability to wipe an entire GridFS bucket - while the attack requirements flag (AT:P) and low-privilege prerequisite (PR:L) substantially constrain the exploitable population. The dual-impact nature (unauthorized read plus potential irreversible data destruction) makes this meaningfully more serious than the numeric score implies in affected deployments; even a mid-sized municipal IT team in kielce running a document management or media archival service on the MongoDB Rust Driver should treat this as urgent if their application forwards user-supplied identifiers to GridFS operations. The AT:P flag is the most important limiting factor: only applications that both use the GridFS component and route user-controlled input as the file identifier without prior type coercion are vulnerable. EPSS data was not provided and the CVE is absent from CISA KEV, meaning no confirmed active exploitation is known at time of analysis. The most severe realistic risk is irreversible bucket-wide data destruction if write/delete operations are reachable and backups are not current. |
| Exploit ScenarioDerived | An authenticated user interacts with an application - such as a file-sharing or document management service - that stores files in MongoDB GridFS via the Rust Driver and accepts file IDs from user-supplied API parameters. The attacker crafts a request containing a structured BSON value with a query operator (e.g., |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 10, 2026
NoSQL injection in the MongoDB Rust Driver's GridFS component allows an authenticated, low-privileged user to supply a crafted file identifier that is evaluated as a query predicate rather than a literal scalar value. Depending on the operation targeted, this can expose GridFS file content belonging to unintended records within the bucket, or - in the most destructive path - cause all file chunks in the affected bucket to be deleted, permanently rendering stored file content unreadable. No public exploit code or CISA KEV listing has been identified at time of analysis; the issue is acknowledged by MongoDB via JIRA issue RUST-2469.
RemediationAI
The primary remediation is to upgrade to a patched release of the MongoDB Rust Driver once MongoDB publishes one - monitor the JIRA issue at https://jira.mongodb.org/browse/RUST-2469 and the official mongodb crate on crates.io for a fix announcement. No vendor-released patch version was confirmed from available data; patch availability should not be assumed. As an immediate compensating control, applications using GridFS should enforce strict type coercion on all caller-supplied file identifiers before passing them to driver operations - deserializing or parsing values into concrete scalar types such as bson::oid::ObjectId or validated strings eliminates the injection surface entirely, as the driver cannot interpret a scalar as a query operator. Additionally, applying least-privilege database permissions to the application service account - restricting it to only the specific GridFS bucket read/write operations required, and removing delete-all or drop permissions - limits the blast radius of the availability impact. Applications that do not use GridFS operations in the MongoDB Rust Driver are not affected by this vulnerability.
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 specification for storing files that exceed BSON document size limits by splitting them into chunks stored as separate collection documents. The MongoDB Rust Driver provides native bindings for interacting with MongoDB including this GridFS component. The root cause is CWE-943 (Improper Neutralization of Special Elements in Data Query Logic), the NoSQL analogue of SQL injection: when a caller supplies a structured BSON document rather than a concrete scalar type (e.g., ObjectId or String) as a file identifier, the driver forwards the structure to the underlying query engine, where operator expressions such as {$ne: null} or {$gte: ''} are evaluated as query predicates rather than identity checks. This is functionally identical to the classic MongoDB injection pattern where attacker-controlled JSON structures bypass equality comparisons. The affected product is identified in CPE as cpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:*:*:*, with no specific version range boundary published in the available 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
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 - application must use GridFS and pass user-controlled identifiers without type coercion; C:L because only GridFS bucket content is reachable, not the full database.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Rust 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.
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.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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-75638
GHSA-pm5h-mrq6-hccx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB