CVE-2026-88022
largeNoSQL query-logic injection in MongoDB integration for Laravel
CVE-2026-88022 is an improper neutralization flaw (CWE-943) in the MongoDB integration for Laravel, where an array supplied as the value of an explicit equality filter can be interpreted as a query condition rather than as a literal value. It is triggered through the three-argument `where` method when the operator is '=' or 'eq', and through the `find` and `delete` methods that share that code path, whenever an application passes an attacker-influenced operator-shaped array into these APIs. An attacker who can control such input may cause the query to return a document other than the intended one or delete documents beyond the intended target, producing a low-confidentiality but high-integrity/availability impact (CVSS 4.0: 8.4 High, network vector, no privileges or user interaction required, but with a present attack requirement that the attacker reach the filter). Any Laravel application using MongoDB's official Laravel integration and passing user-controlled arrays into these equality-filter APIs is affected. No public proof-of-concept, no CISA KEV listing, and no known in-the-wild exploitation have been reported.
What to do: Upgrade to the patched release once MongoDB's advisory specifies it (no fixed version is stated in the source data) and verify the exact package/version in your dependency tree. Until then, audit code paths that pass user-controlled values as the third argument of where() with '=' or 'eq', or into find()/delete(), and normalize or validate attacker input to literal (non-array, non-operator-shaped) values before it reaches equality filters. Note that exploitation requires attacker influence over the filter value, so reviewing whether such input is user-controllable in your application will quickly narrow your actual risk.
| MongoDB integration for Laravel (mongodb/laravel-mongodb) | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Improper neutralization of special elements in data query logic in the MongoDB integration for Laravel can cause an array supplied to an explicit equality filter to be interpreted as a query condition rather than as a literal value. This affects the three-argument `where` method when the operator is `=` or `eq`, as well as the `find` and `delete` methods that use that code path. An attacker who can cause an affected application to supply an operator-shaped array to one of these APIs may obtain a document other than the intended target or delete documents beyond the intended target.
- Weakness
- CWE-943
- Vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.