CVE-2026-88025: 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. The affected rename operation may also rename a stored file other than the intended target.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user who can influence the file identifier passed by an affected application may exploit it. The issue applies when that caller-supplied identifier can be structured so it is interpreted as a query condition instead of a literal identifier.
What could an attacker do through a vulnerable application?
They may obtain stored GridFS file content beyond the intended file target. They may also remove all GridFS file chunks in the affected bucket, making stored content unreadable, or cause a rename operation to rename a different stored file.