
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-88031 is a NoSQL injection vulnerability (CWE-943) in the GridFS component of the MongoDB Go Driver that allows an authenticated attacker to cause all file chunks in an affected GridFS bucket to be deleted. The flaw arises because a caller-supplied structured file identifier can be interpreted as a query condition rather than a literal identifier. Affected versions span MongoDB Go Driver 1.0.0 through 1.17.9 and 2.0.0 through 2.9.0; fixed versions are 1.17.10 and 2.9.1. It was published on September 10, 2026, with a CVSS v3.1 base score of 8.1 (High) and a CVSS v4.0 base score of 6.1 (Medium) (GitHub Advisory).
The root cause is improper neutralization of special elements in data query logic (CWE-943), mapped to CAPEC-676 (NoSQL Injection). When an application passes a structured (e.g., BSON document) file identifier to GridFS operations in the MongoDB Go Driver, the driver fails to treat it strictly as a literal value; instead, the structured input is interpreted as a query operator expression, enabling the caller to craft a condition that matches and deletes all chunks in the bucket. Exploitation requires the attacker to be authenticated and able to influence the file identifier argument passed by the application to GridFS — for example, through an API endpoint that accepts user-controlled file IDs without sanitization. The vulnerability is tracked upstream in MongoDB's issue tracker as GODRIVER-4081 (GitHub Advisory).
Successful exploitation results in permanent, irreversible deletion of all GridFS file chunks within the affected bucket, rendering all stored file content unreadable and causing complete data loss for that bucket. There is no confidentiality impact (data is not disclosed), but integrity and availability are both severely affected. Applications relying on GridFS for binary or large-object storage — such as document management systems, media platforms, or backup services — could suffer catastrophic data loss with no recovery path unless external backups exist (GitHub Advisory).
As of the publication date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable, reflecting the requirement for an authenticated user with the ability to influence the file identifier passed to GridFS operations.
{"$gte": ""} or {"$exists": true}) as the file identifier argument.fs.chunks collection (or custom bucket chunks collection) becomes empty or drastically reduced in document count without corresponding application-level bulk delete activity; fs.files records remain while associated chunks are missing.{"$gte":""}) in file identifier fields rather than standard ObjectID strings.MongoDB has released patched versions of the Go Driver: 1.17.10 (for the 1.x branch) and 2.9.1 (for the 2.x branch). Upgrading to these versions is the primary recommended remediation (GitHub Advisory). For applications that cannot upgrade immediately, implement strict input validation to ensure file identifiers passed to GridFS operations are always plain scalar values (e.g., ObjectID or string), rejecting any structured or document-type inputs. Additionally, restrict application-level access to GridFS operations to trusted users only, and monitor GridFS bucket activity for unusual bulk deletion patterns.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."