CVE-2026-88033

GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Java Driver

Published Sep 10, 2026 CVSS 4.0 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Java 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.

Analysis

AI-generated

Technical impact

The vulnerability, identified as CWE‑94 and CWE‑943, arises from improper neutralization of special elements in the GridFS component of the MongoDB Java Driver. The driver treats a caller‑supplied structured file identifier as a query condition rather than a literal, allowing an authenticated user who can influence that identifier to read any stored file, delete all GridFS file chunks in a bucket, or rename a file other than the intended target. The resulting impact includes unauthorized data disclosure and destructive deletion of files.

Affected Systems

The flaw affects applications that use the MongoDB Java Driver, specifically its GridFS component. No specific driver version numbers are listed in the CVE, so any deployment using the Java Driver prior to the fix is potentially vulnerable.

Risk and Exploitability

The vulnerability has a CVSS score of 6.1, which is classified as medium severity. The EPSS score is 0.00253, indicating a very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user who can supply or influence the file identifier; once a malicious query is injected, the attacker can obtain arbitrary file content or wipe a bucket via deletion or renaming. The likely attack vector is via application interfaces that accept arbitrary identifiers, so the risk is moderate but significant for applications exposing file retrieval or management functionality.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a MongoDB Java Driver version that includes the fix for GridFS injection
  • Restrict authenticated users from supplying arbitrary file identifiers and enforce explicit whitelisting of allowed identifiers
  • Validate or sanitize all file identifiers to treat them as literal values and prevent query‑operator injection

Generated by OpenCVE AI on September 21, 2026 at 05:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:mongodb:java_driver:*:*:*:*:*:mongodb:*:*
Type Values Removed Values Added
First Time appeared Mongodb
Mongodb java Driver
Vendors & Products Mongodb
Mongodb java Driver
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Java 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.
Title GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Java Driver
Weaknesses CWE-943
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H'}

cvssV4_0

{'score': 6.1, 'vector': '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'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Sep 10, 2026, 6:31 PM
Reserved
Sep 9, 2026, 7:49 PM
Status
Analyzed
Published
Sep 10, 2026, 7:17 PM
Modified
Sep 16, 2026, 5:58 PM
Severity
Important
Public date
Sep 10, 2026, 6:04 PM