Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mongodb/mongodb
  4. ›
  5. CVE-2026-88023

CVE-2026-88023: MongoDB: GridFS data disclosure and deletion via query-operator injection in file IDs

October 5, 2026 (updated November 9, 2026)

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.

References

  • github.com/advisories/GHSA-8fxw-fmj8-xp7j
  • github.com/mongodb/mongo-php-library/commit/8c0b165069ab29d52a80a379a947ac9a55734601
  • github.com/mongodb/mongo-php-library/pull/1981
  • github.com/mongodb/mongo-php-library/releases/tag/1.21.5
  • github.com/mongodb/mongo-php-library/releases/tag/2.4.2
  • github.com/mongodb/mongo-php-library/security/advisories/GHSA-8fxw-fmj8-xp7j
  • jira.mongodb.org/browse/PHPLIB-1929
  • nvd.nist.gov/vuln/detail/CVE-2026-88023

Code Behaviors & Features

Detect and mitigate CVE-2026-88023 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.1.0 before 1.21.5, all versions starting from 2.0.0 before 2.4.2

Fixed versions

  • 1.21.5
  • 2.4.2

Solution

Upgrade to versions 1.21.5, 2.4.2 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Learn more about CVSS

Weakness

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

Source file

packagist/mongodb/mongodb/CVE-2026-88023.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 13 Nov 2026 12:16:56 +0000.