AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

MongoDBGHSA-8fxw-fmj8-xp7j

GridFS data disclosure and deletion via query-operator injection in file IDs

MongoDB

CVE-2026-88023 · Published Sep 11, 2026

Medium6.1
Fix: upgrade to 1.21.5 or later (2 fixed versions below)
GitHub advisory

Impact

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.

Patches

Fixed in 1.21.5 and 2.4.2.

Workarounds

Validate GridFS IDs.

References

https://jira.mongodb.org/browse/PHPLIB-1929

Affected versions

PackageAffectedFixed in
mongodb/mongodb
Product
>= 1.1.0, < 1.21.51.21.5
>= 2.0.0, < 2.4.22.4.2
Details and references
CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
Severity from
GitHub (reviewed advisory)

More MongoDB advisories

All MongoDB