CVE-2026-88030 GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Ruby 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-88030?
CVE-2026-88030 is a medium-severity SQL injection vulnerability in MongoDB Ruby 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 Ruby 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-88030?
It affects 1 product.
Products include Mongodb Ruby Driver.
How do I fix CVE-2026-88030?
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-88030 being exploited?
There is no known exploitation of CVE-2026-88030 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-88030, GHSA-4ww7-gqv6-mffc, UBUNTU-CVE-2026-88030.