Skip to content
Heist/ feed
Back to feed
Medium

GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB PHP Library

Type: advisorySources: OSV

Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB PHP Library 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-88023
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:20 UTC · Revision 1

Source evidence

GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB PHP Library

core-osv · Original source

Published 10 Sept 2026, 17:41 UTC

Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB PHP Library 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.

osv:CVE-2026-88023
Complete source record
{
  "id": "4aadd62fff3a5a33b2a0134aaaee4117a3f9524e53dc8dbdd119ec1637d0aa78",
  "url": "https://osv.dev/vulnerability/CVE-2026-88023",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB PHP Library",
    "summary": "Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB PHP Library 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.",
    "evidence": "osv:CVE-2026-88023",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-88023",
      "aliases": [
        "CVE-2026-88023",
        "GHSA-8fxw-fmj8-xp7j"
      ],
      "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-php-library",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9dfb2c5fc917d7438b44eb8f4d247ba3e3984e75"
                },
                {
                  "fixed": "8c0b165069ab29d52a80a379a947ac9a55734601"
                },
                {
                  "introduced": "04cd7edc6a28950e3fab6eccb2869d72a0541232"
                },
                {
                  "fixed": "1fbdc2ffff18a1ad6d92043b40060e4f546982ff"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.1.0"
                      },
                      {
                        "fixed": "1.21.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.4.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.4.1",
            "1.21.4",
            "2.4.0",
            "2.3.0",
            "2.2.0",
            "1.21.3",
            "1.21.2",
            "2.1.0",
            "2.0.0",
            "1.21.1",
            "1.21.0",
            "1.19.0",
            "1.18.0",
            "1.17.0",
            "1.16.0",
            "1.15.0",
            "1.13.0",
            "1.13.0-beta1",
            "1.12.0",
            "1.11.0",
            "1.10.0",
            "1.9.0",
            "1.9.0-alpha1",
            "1.8.0-RC1",
            "1.6.0",
            "1.7.0-beta1",
            "1.5.0",
            "1.4.2",
            "1.4.1",
            "1.4.0",
            "1.3.0",
            "1.2.0",
            "1.2.0-alpha1",
            "1.1.1",
            "1.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-88023.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.341485394Z",
      "provider": "osv",
      "references": [
        "https://jira.mongodb.org/browse/PHPLIB-1929",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88023.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-88023"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-943"
        ],
        "cna_assigner": "mongodb",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.1.0"
                  },
                  {
                    "last_affected": "1.21.4"
                  },
                  {
                    "introduced": "2.0.0"
                  },
                  {
                    "last_affected": "2.4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88023.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-88023",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489773,
  "published_at": "2026-09-10T17:41:10.027+00:00"
}