Description
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Python 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.
Published: 2026-09-10
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: Data disclosure and deletion
Action: Apply Patch
AI Analysis

Impact

Improper neutralization of special elements in a query causes a caller‑supplied structured file identifier to be treated as a query condition instead of a literal id. This allows an attacker to read files beyond the intended target, delete all GridFS file chunks in a bucket, or rename an unintended file. The flaw rooted in GridFS query logic therefore threatens both confidentiality and integrity of stored content.

Affected Systems

The vulnerability affects the MongoDB Python Driver, specifically its GridFS component. Any application that uses this driver to access GridFS buckets and constructs file identifiers from user input is potentially impacted.

Risk and Exploitability

The CVSS score of 6.1 classifies this as a moderate severity vulnerability. EPSS data is unavailable and the issue is not listed in the CISA KEV catalog. The obvious attack vector involves an authenticated user who can provide or influence the file identifier passed to the driver—typically a remote attacker with application credentials. Successful exploitation can lead to unauthorized data disclosure, unwanted deletion, or renaming of GridFS files.

Generated by OpenCVE AI on September 10, 2026 at 20:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest MongoDB Python Driver that contains the GridFS query injection fix.
  • Validate or sanitize all file identifiers in application code, ensuring only literal id values are used and rejecting any operators such as $gt or $ne.
  • Restrict GridFS delete and rename operations to privileged users or disable them when not required to limit the potential scale of impact.
  • Monitor application logs for anomalous GridFS activity and review file‑access permissions for possible abuse.

Generated by OpenCVE AI on September 10, 2026 at 20:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 10 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 10 Sep 2026 18:15:00 +0000

Type Values Removed Values Added
Description Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Python 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 Python 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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-09-10T18:25:06.926Z

Reserved: 2026-09-09T19:49:39.183Z

Link: CVE-2026-88029

cve-icon Vulnrichment

Updated: 2026-09-10T18:25:02.953Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-10T18:18:13.327

Modified: 2026-09-10T19:54:25.810

Link: CVE-2026-88029

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T20:30:17Z

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic