CVE-2026-88034: 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
Who is 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 the application passes to GridFS. The issue depends on the application accepting or forwarding a structured identifier rather than ensuring it is treated as a literal value.
What does an attacker need to exploit it?
An attacker needs authentication and the ability to control the identifier used by the affected application for a GridFS file operation. No user interaction is required, and the attack can be conducted over the network.
What can exploitation cause?
An attacker may retrieve GridFS file content outside the intended target. They may also cause all GridFS file chunks in the affected bucket to be removed, making stored file content unreadable.