CVE-2026-88023mongodb/mongodb Improper Neutralization of Special Elements in Data Query Logic
NVD
Vulnerability Summary
### Impact
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.
### Patches
Fixed in 1.21.5 and 2.4.2.
### Workarounds
Validate GridFS IDs.
### References
https://jira.mongodb.org/browse/PHPLIB-1929
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.
### Patches
Fixed in 1.21.5 and 2.4.2.
### Workarounds
Validate GridFS IDs.
### References
https://jira.mongodb.org/browse/PHPLIB-1929
CVSS v4.0 Base Metrics — Score 6.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- mongodb/mongodb >= 1.1.0, < 1.21.5
- mongodb/mongodb >= 2.0.0, < 2.4.2
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run mongodb/mongodb and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Sep 10, 2026Published
- Nov 9, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new mongodb/mongodb CVEsYou are reading CVE-2026-88023. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/mongodb/mongo-php-library/security/advisories/GHSA-8fxw-fmj8-xp7j
- CVE Recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-88023
- Patchhttps://github.com/mongodb/mongo-php-library/pull/1981
- Patchhttps://github.com/mongodb/mongo-php-library/commit/8c0b165069ab29d52a80a379a947ac9a55734601
- Referencehttps://github.com/mongodb/mongo-php-library/releases/tag/1.21.5
- Referencehttps://github.com/mongodb/mongo-php-library/releases/tag/2.4.2
- Issue Trackinghttps://jira.mongodb.org/browse/PHPLIB-1929
- Referencehttps://github.com/advisories/GHSA-8fxw-fmj8-xp7j
Data last checked: Oct 6, 2026 01:57 UTC