What’s Vulnerable › Vulnerabilities

CVE-2026-88031: GridFS data deletion via query-operator injection in file IDs in the MongoDB Go Driver

Description

Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Go 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 cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable.

Affected products

How to fix

Upgrade to a fixed version: MongoDB Go Driver 1.17.10, 2.9.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-88031 or the next vulnerability affects your stack