CVE-2026-88034 GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB C++ Driver
An authenticated user can inject query operators into file IDs to read unauthorized GridFS content or delete all chunks in a bucket.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-88034?
CVE-2026-88034 is a medium-severity SQL injection vulnerability in MongoDB C++ Driver, published on 10 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-943
Which versions are affected by CVE-2026-88034?
It affects 1 product.
Products include Mongodb C\+\+ Driver.
How do I fix CVE-2026-88034?
Upgrade to a fixed version.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-88034 being exploited?
There is no known exploitation of CVE-2026-88034 in the wild and no public exploit code.
Other vulnerabilities in MongoDB C++ Driver
- CVE-2026-81522 Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C++ Driver
- CVE-2026-84966 BSON element injection via NUL-embedded document keys in builder append
- CVE-2026-84970 Heap over-read or silent misparse via 32-bit truncation of JSON length in BSON JSON parser
Sources
Also known as DEBIAN-CVE-2026-88034, GHSA-x33j-9628-wvwc, UBUNTU-CVE-2026-88034.