[ CVE-2026-88023 · Published 10 Sep 2026 ]
MongoDB: GridFS data disclosure and deletion via query-operator injection in file IDs
CVSS 8.3
EPSS <1%Fix available
[ Description ]Official 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.
[ Fixes ]Fixes and patches
- mongodb/mongodb 1.24.5Fixed version · GitHub Advisories · composer package mongodb/mongodb: upgrade to 1.24.5 or later (affected >= 1.1.0, < 1.21.5)
- mongodb/mongodb 2.4.2Fixed version · GitHub Advisories · composer package mongodb/mongodb: upgrade to 2.4.2 or later (affected >= 2.0.0, < 2.4.2)
[ Packages ]Affected open-source packages
- mongodb/mongodb composerAffected >= 1.1.0, < 1.21.5 · fixed in 1.24.5 · GHSA-8fxw-fmj8-xp7j
- mongodb/mongodb composerAffected >= 2.0.0, < 2.4.2 · fixed in 2.4.2 · GHSA-8fxw-fmj8-xp7j