CVE-2026-88022: Unauthorized document disclosure and deletion via query-operator injection in explicit equality filters in MongoDB integration for Laravel
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.
Affected Software
Event History
Frequently Asked Questions
Does exploitation require authentication or user interaction?
The CVSS vector indicates no privileges or user interaction are required. However, exploitation depends on an attacker being able to cause the application to pass an operator-shaped array into an affected API call.
Which application code paths should be reviewed first?
Review uses of the three-argument where method with = or eq, along with find and delete calls that use the same equality-filter code path. Prioritize calls where values supplied to these methods can be influenced by external input.
What is the potential operational impact?
An attacker may retrieve a document other than the intended one or delete documents beyond the intended target. The CVSS assessment rates integrity and availability impact as high, with limited confidentiality impact.