CVE-2026-88023
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.
How to fix
- mongodb php_library1.21.5, 2.4.2 or later
- mongodb/mongodb1.24.5, 2.4.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mongodb php_library | 1.1.0 ≤ v < 1.21.5, 2.0.0 ≤ v < 2.4.2 | 1.21.5, 2.4.2 |
| mongodb/mongodbPackagist | 1.1.0 ≤ v < 1.24.5, 2.0.0 ≤ v < 2.4.2 | 1.24.5, 2.4.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.