CVE-2026-88030 PUBLISHED

GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Ruby Driver

Assigner: mongodb
Reserved: 09.09.2026 Published: 10.09.2026 Updated: 10.09.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6.1

Product Status

Vendor MongoDB
Product Ruby Driver
Versions Default: unaffected
  • affected from 2.0.0 to 2.25.0 (incl.)

References

Problem Types

  • CWE-943: Improper Neutralization of Special Elements in Data Query Logic CWE