CVE-2026-88036: GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB C Driver
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB C 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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Applications using the GridFS component of the MongoDB C Driver are exposed if an authenticated user can influence the file identifier passed by the application and the identifier can be supplied as structured data rather than being treated as a literal value.
What level of access does an attacker need?
The attacker must be authenticated and able to influence a GridFS file identifier used by the affected application. No user interaction is required.
What can exploitation do to stored GridFS data?
An attacker may retrieve file content beyond the intended file target. They may also cause all GridFS file chunks in the affected bucket to be deleted, which makes the stored file content unreadable.