CVE-2026-88023GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB PHP Library
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| MongoDB | MongoDB PHP Library | 1.1.0 – ≤ 1.21.4, 2.0.0 – ≤ 2.4.1 | |
| mongodb | php library | 1.1.0 – < 1.21.5 |
References and patches
- https://jira.mongodb.org/browse/PHPLIB-1929 Vendor Advisory
CPE matches (NVD) (2)
cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*≥ 1.1.0 < 1.21.5cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*≥ 2.0.0 < 2.4.2