CVE-2026-88031: GridFS data deletion via query-operator injection in file IDs in the MongoDB Go Driver
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Go 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 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 can exploit this issue?
An authenticated user must be able to influence the file identifier that an affected application passes to the GridFS component. The identifier must be accepted in a structured form that can be interpreted as a query condition rather than a literal value.
What is the practical impact on stored files?
An attacker may cause all GridFS file chunks in the affected bucket to be removed. This renders the stored file content unreadable.