GridFS data disclosure and deletion via query-operator injection in file IDs
Medium6.1CVE-2026-88034 · Published Sep 11, 2026
### Impact Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB C++ 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 Fixed in 4.5.3. ### Workarounds Validate GridFS IDs. ### References https://jira.mongodb.org/browse/CXX-3556
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| MongoDB C++ Driver Product | >= 3.2.0, < 4.5.3 | 4.5.3 |
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| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Sep 11 | MongoDB Server: race condition | High7.7 | 8.3.11+2 more |
| Sep 11 | ### Impact Improper neutralization of special elements in data query logic in... | High7.1 | 5.11.0 |
| Sep 11 | ### Impact Improper neutralization of special elements in data query logic in... | High7.1 | 5.11.0 |
| Sep 11 | ### Impact Improper neutralization of special elements in data query logic in... | High8.4 | 5.11.0 |
| Sep 11 | GridFS data disclosure and deletion via query-operator injection in file IDs | Medium6.1 | 1.21.5+1 more |
| Sep 11 | Heap buffer overflow via wrapped size check during SASL username canonicalization | Medium5.7 | 2.5.3 |