Description
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB PHP Library 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: Patch Immediately
AI Analysis

Impact

Improper handling of file identifiers in the GridFS component of the MongoDB PHP Library allows a caller‑supplied identifier to be treated as a query operator instead of a literal value. This flaw is a CWE-943 vulnerability—improper neutralization of special elements in data query logic. When an authenticated user can influence the identifier sent by an application, the attacker may obtain content from unintended files, delete all chunks in a bucket, or rename a file that was not targeted. The vulnerability can lead to confidentiality loss, data loss, and availability impact on stored files that rely on GridFS.

Affected Systems

All installations of the MongoDB PHP Library that use GridFS for file storage are affected. The specific version or patch level is not disclosed in the input. Attackers must be able to authenticate to the application that uses the library.

Risk and Exploitability

The CVSS score is 6.1, reflecting moderate severity. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an authenticated user influencing file identifiers through the application. Exploitation requires the attacker to be granted application access; however, once achieved, the impact can be significant due to direct manipulation of file objects.

Generated by OpenCVE AI on September 10, 2026 at 19:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the MongoDB PHP Library to the latest released version that contains the fix for GridFS query‑operator injection.
  • Validate and sanitize all file identifier inputs in the application, ensuring they are treated strictly as literals and not as query operators.
  • Enforce least‑privilege access control so that only authorized roles can submit file identifiers for read, delete, or rename operations.

Generated by OpenCVE AI on September 10, 2026 at 19:45 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 17:45:00 +0000

Type Values Removed Values Added
Description Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB PHP Library 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 PHP Library
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:12:50.597Z

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

Link: CVE-2026-88023

cve-icon Vulnrichment

Updated: 2026-09-10T18:12:47.891Z

cve-icon NVD

Status : Awaiting Analysis

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

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

Link: CVE-2026-88023

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T20:00:04Z

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic