GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB PHP Library
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- Low · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MongoDB | MongoDB PHP Library | 1.1.0 – 1.21.4; 2.0.0 – 2.4.1 | — | No fix listed | CNA |
| — | mongodb/mongodb (Packagist) | 1.1.0 to before 1.24.5 | 1.24.5 | Patch available | GHSA-8fxw-fmj8-xp7j |
| — | mongodb/mongodb (Packagist) | 2.0.0 to before 2.4.2 | 2.4.2 | Patch available | GHSA-8fxw-fmj8-xp7j |
- MongoDB PHP Library VendorMongoDB Affected 1.1.0 – 1.21.4; 2.0.0 – 2.4.1 Fixed in — No fix listed CNA
- mongodb/mongodb (Packagist) Vendor— Affected 1.1.0 to before 1.24.5 Fixed in 1.24.5 Patch available GHSA-8fxw-fmj8-xp7j
- mongodb/mongodb (Packagist) Vendor— Affected 2.0.0 to before 2.4.2 Fixed in 2.4.2 Patch available GHSA-8fxw-fmj8-xp7j
Remediation
- Fix · GHSA-8fxw-fmj8-xp7j mongodb/mongodb (Packagist) Fixed in 1.24.5 Advisory →
- Fix · GHSA-8fxw-fmj8-xp7j mongodb/mongodb (Packagist) Fixed in 2.4.2 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-88023
- 2026-10-03 Alias added: GHSA-x6mc-fgjf-77r7
- 2026-10-06 Alias added: GHSA-8fxw-fmj8-xp7j
- 2026-10-06 Fix available: Packagist/mongodb/[email protected], Packagist/mongodb/[email protected] · GHSA-8fxw-fmj8-xp7j
- 2026-10-06 CVSS score added · GHSA-8fxw-fmj8-xp7j
- 2026-10-06 8 new references · GHSA-8fxw-fmj8-xp7j
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
Advisory 2
Other 6
- https://github.com/mongodb/mongo-php-library/security/advisories/GHSA-8fxw-fmj8-xp7j
- https://github.com/mongodb/mongo-php-library/pull/1981
- https://github.com/mongodb/mongo-php-library/commit/8c0b165069ab29d52a80a379a947ac9a55734601
- https://github.com/mongodb/mongo-php-library
- https://github.com/mongodb/mongo-php-library/releases/tag/1.21.5
- https://github.com/mongodb/mongo-php-library/releases/tag/2.4.2
More MongoDB Php Library vulnerabilities
- TI-2026-56246 Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver CVSS 4.0HIGH 8.6
Sources
- CVE-2026-88023 · CVE Program
- CVE-2026-88023 · NVD
- FIRST EPSS
- GHSA-8fxw-fmj8-xp7j · GitHub Advisory Database · CC BY 4.0
- GHSA-x6mc-fgjf-77r7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-88023 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences