CVE-2026-88023: MongoDB · GridFS data disclosure and deletion via query-operator injection in file IDs
Affects mongodb/mongodbSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium : upgrade to 1.21.5 when convenient.
Data as of 9 Nov 2026, 17:34 UTC
- Patch
- Available – fixed in 1.21.5, 2.4.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Upgrade mongodb/mongodb to 1.21.5; mongodb/mongodb to 2.4.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistmongodb/mongodb | Affected
| Fixed in
|
| Packagistmongodb/mongodb | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patches by upgrading to MongoDB PHP Library versions 1.21.5 or later, or 2.4.2 or later. As a workaround, validate GridFS file IDs to ensure they do not contain special query elements that could be interpreted as query operators.
Description
CVE-2026-88023 is a vulnerability in the MongoDB PHP Library's GridFS component where improper neutralization of special elements in file identifiers allows an authenticated user to manipulate query logic. This can lead to unauthorized disclosure of stored file contents, deletion of all file chunks in a bucket, or unintended file renaming. The issue affects versions >=1.1.0 <1.21.5 and >=2.0.0 <2.4.2 and has been fixed in versions 1.21.5 and 2.4.2.
References
- github.com/mongodb/mongo-php-library/security/advisories/GHSA-8fxw-fmj8-xp7j (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-88023 (opens in a new tab)
- github.com/mongodb/mongo-php-library/pull/1981 (opens in a new tab)
- github.com/mongodb/mongo-php-library/commit/8c0b165069ab29d52a80a379a947ac9a55734601 (opens in a new tab)
- github.com/mongodb/mongo-php-library (opens in a new tab)
- github.com/mongodb/mongo-php-library/releases/tag/1.21.5 (opens in a new tab)
- github.com/mongodb/mongo-php-library/releases/tag/2.4.2 (opens in a new tab)
- jira.mongodb.org/browse/PHPLIB-1929 (opens in a new tab)