Skip to main content

MongoDB Rust Driver CVE-2026-88024

| EUVDEUVD-2026-75638 MEDIUM
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-09-10 mongodb GHSA-pm5h-mrq6-hccx
6.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to application with low-privilege account
  2. Delivery
    Craft structured BSON value containing MongoDB query operator as file identifier
  3. Exploit
    Submit crafted identifier via application API to GridFS-backed endpoint
  4. Execution
    Driver forwards BSON structure as query predicate without sanitization
  5. Persist
    Query matches unintended documents across the bucket
  6. Impact
    Read 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 ObjectId or String. Applications using only standard MongoDB collection operations and not GridFS are fully unaffected. Applications that validate or type-check identifiers before passing them to the driver are also unaffected regardless of GridFS usage. Confidentiality impact is limited to file content accessible within the affected GridFS bucket, not the broader MongoDB database. The most severe reachable impact - bucket-wide chunk deletion (VI:H/VA:H) - requires that the application's GridFS operation maps to a delete or update path, not read-only retrieval.

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., {"$ne": null}) instead of a literal ObjectId as the file identifier. The GridFS component evaluates this as a query predicate matching all documents in the bucket, either returning file content from records the attacker should not access or triggering deletion of all chunk documents across the entire bucket, permanently destroying stored data. No public exploit code is known at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Rust Driver 2.4.0 <3.9.1

Affected Packages

euvd rust_driver fix: 3.9.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

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

Vendor (mongodb) PRIMARY 6.1 MEDIUM
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
vuln.today AI 7.1 HIGH

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.

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

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
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 10, 2026 - 19:02 EUVD

DescriptionCVE.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

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Low
Rust-language MongoDB applications using GridFS specifically
Data Quality
6 sources
Confidence: High

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.3%
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.

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.

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-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

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-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

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

Vendor StatusVendor

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