Read the docs

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

Priority LOW 27CWE-943Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
Low · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00326 25th percentileScored 2026-11-07
Fix Fixed mongodb/mongodb (Packagist): 1.24.5, 2.4.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBMongoDB PHP Library1.1.0 – 1.21.4; 2.0.0 – 2.4.1—No fix listedCNA
—mongodb/mongodb (Packagist)1.1.0 to before 1.24.51.24.5Patch availableGHSA-8fxw-fmj8-xp7j
—mongodb/mongodb (Packagist)2.0.0 to before 2.4.22.4.2Patch availableGHSA-8fxw-fmj8-xp7j
  • MongoDB PHP Library VendorMongoDB Affected 1.1.0 – 1.21.4; 2.0.0 – 2.4.1 Fixed in — No fix listed CNA
  • mongodb/mongodb (Packagist) Vendor— Affected 1.1.0 to before 1.24.5 Fixed in 1.24.5 Patch available GHSA-8fxw-fmj8-xp7j
  • mongodb/mongodb (Packagist) Vendor— Affected 2.0.0 to before 2.4.2 Fixed in 2.4.2 Patch available GHSA-8fxw-fmj8-xp7j

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*1.1.0 to before 1.21.5; 2.0.0 to before 2.4.2VulnerableMongoDB
  • cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:* Versions 1.1.0 to before 1.21.5; 2.0.0 to before 2.4.2 Vulnerable ·MongoDB

Remediation

  • Fix · GHSA-8fxw-fmj8-xp7j mongodb/mongodb (Packagist) Fixed in 1.24.5 Advisory →
  • Fix · GHSA-8fxw-fmj8-xp7j mongodb/mongodb (Packagist) Fixed in 2.4.2 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-88023
  2. 2026-10-03 Alias added: GHSA-x6mc-fgjf-77r7
  3. 2026-10-06 Alias added: GHSA-8fxw-fmj8-xp7j
  4. 2026-10-06 Fix available: Packagist/mongodb/[email protected], Packagist/mongodb/[email protected] · GHSA-8fxw-fmj8-xp7j
  5. 2026-10-06 CVSS score added · GHSA-8fxw-fmj8-xp7j
  6. 2026-10-06 8 new references · GHSA-8fxw-fmj8-xp7j
  7. 2026-11-06 Affected versions changed · Red Hat
  8. 2026-11-06 CVSS score added · Red Hat

References

  • TI-2026-56246 Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver CVSS 4.0HIGH 8.6

Sources