AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

MongoDBGHSA-wj2p-8jf9-wqxx

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

MongoDB

CVE-2026-88024 · Published Sep 10, 2026

Medium6.1
Fix: upgrade to 3.9.1 or later
GitHub advisory

Impact

Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Rust Driver 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.

Patches

GridFS file IDs are matched exactly in versions 3.9.1 and higher.

Workarounds

Validate all GridFS file IDs before passing them to driver methods.

References

[RUST-2469](https://jira.mongodb.org/browse/RUST-2469), [Fix](https://github.com/mongodb/mongo-rust-driver/pull/1792/changes/01ffb9bee428697a1396cb1362ed7c40e6091e9c), [CVE](https://www.cve.org/CVERecord?id=CVE-2026-88024)

Affected versions

PackageAffectedFixed in
mongodb
crates.io
>= 2.4.0, < 3.9.13.9.1
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)
Weakness
CWE-943

More MongoDB advisories

All MongoDB