CVE-2026-88033 — mongo-java-driver
CVE-2026-88033 is a CWE-943 vulnerability. A fix is available — see the affected versions and patch details below.
GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Java Driver
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-88033.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Description
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Java 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. The affected rename operation may also rename a stored file other than the intended target.
Affected Products
java drivermongodbDetection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Fix
Upgrade the affected component to the fixed release for CVE-2026-88033, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This is an Important vulnerability in the MongoDB Java Driver's GridFS component. An authenticated attacker can exploit improper handling of caller-supplied file identifiers to perform query-operator injection. This could lead to unauthorized access to GridFS file content or a denial of service by deleting file…
Mitigation for this issue involves ensuring that applications using the MongoDB Java Driver's GridFS component rigorously validate and sanitize all user-supplied input intended for file identifiers. Restricting access to such applications to only trusted users can further reduce the attack surface.Source: Red Hat security advisory for CVE-2026-88033 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-88033 in your dependencies?
Find it across , including transitive dependencies.