Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-88030
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:22 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 10 Sept 2026, 17:57 UTC

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.

osv:CVE-2026-88030
Complete source record
{
  "id": "212a05b0a122c30920c9c7d0b61c7c78afc09e2dc5a9165c9ec6e6a9f6e37be3",
  "url": "https://osv.dev/vulnerability/CVE-2026-88030",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Ruby Driver",
    "summary": "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.",
    "evidence": "osv:CVE-2026-88030",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-88030",
      "aliases": [
        "CVE-2026-88030"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mongodb/mongo-ruby-driver",
              "type": "GIT",
              "events": [
                {
                  "introduced": "648aad1bf47f98a63e02046a3a2d442fde847418"
                },
                {
                  "fixed": "8405041218185d1814e778d8045d30361a0078bd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mongodb:ruby_driver:*:-:*:*:*:mongodb:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.26.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.25.0",
            "v2.24.1",
            "v2.23.0",
            "v2.24.0",
            "v2.21.3",
            "v2.22.0",
            "v2.20.1",
            "v2.21.2",
            "v2.21.1",
            "v2.21.0",
            "v2.20.0",
            "v2.19.1",
            "v2.19.0",
            "v2.18.1",
            "v2.18.0",
            "v2.18.0.beta1",
            "v2.17.0",
            "v2.16.0",
            "v2.16.0.alpha1",
            "v2.15.0.alpha",
            "v2.14.0.rc1",
            "v2.13.0.rc1",
            "v2.13.0.beta1",
            "v2.11.0.rc0",
            "v2.8.0.rc0",
            "v2.7.0",
            "v2.7.0.rc0",
            "v2.6.1",
            "2.6.1",
            "v2.6.0",
            "2.6.0",
            "v2.5.1",
            "2.5.1",
            "v2.5.0",
            "2.5.0",
            "v2.5.0.beta",
            "v2.4.2",
            "2.4.2",
            "v2.4.1",
            "2.4.1",
            "v2.4.0",
            "2.4.0",
            "v2.4.0.rc1",
            "2.4.0.rc1",
            "v2.3.0",
            "2.3.0",
            "v2.4.0.rc0",
            "2.4.0.rc0",
            "v2.2.6",
            "2.2.6",
            "v2.2.5",
            "2.2.5",
            "v2.2.4",
            "2.2.4",
            "v2.2.3",
            "2.2.3",
            "v2.2.2",
            "2.2.2",
            "v2.2.1",
            "2.2.1",
            "v2.2.0",
            "2.2.0",
            "v2.2.0.rc0",
            "2.2.0.rc0",
            "v2.1.0",
            "2.1.0",
            "v2.1.0.rc0",
            "2.1.0.rc0",
            "v2.1.0.beta",
            "2.1.0.beta",
            "v2.0.4",
            "2.0.4",
            "v2.0.3",
            "2.0.3",
            "v2.0.2",
            "2.0.2",
            "2.0.1",
            "2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-88030.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.319059560Z",
      "provider": "osv",
      "references": [
        "https://jira.mongodb.org/browse/RUBY-3941",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88030.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-88030"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-943"
        ],
        "cna_assigner": "mongodb",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0"
                  },
                  {
                    "last_affected": "2.25.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88030.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-88030",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497315,
  "published_at": "2026-09-10T17:57:59.984+00:00"
}