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: < 1% Very Low
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 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 11, 2026 at 04:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

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 11, 2026 at 04:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 16:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:mongodb:python_driver:*:*:*:*:*:mongodb:*:*

Fri, 11 Sep 2026 08:00:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb python Driver
Vendors & Products Mongodb
Mongodb python Driver

Fri, 11 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
References
Metrics threat_severity

None

threat_severity

Important


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

Mongodb Python Driver
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 : Analyzed

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

Modified: 2026-09-29T16:06:45.320

Link: CVE-2026-88029

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-10T17:56:25Z

Links: CVE-2026-88029 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-11T07:45:06Z

Weaknesses
  • CWE-94

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

  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic