CVE-2026-88022 SQL injection in Laravel MongoDB (PHP)
Attackers can inject query operators to read or delete unintended documents in Laravel applications using the MongoDB integration.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-88022?
CVE-2026-88022 is a high-severity SQL injection vulnerability in Laravel MongoDB (PHP), published on 10 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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
Which versions are affected by CVE-2026-88022?
It affects 1 product.
Products include Mongodb Laravel Mongodb.
How do I fix CVE-2026-88022?
No fix has been published for CVE-2026-88022 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-88022 being exploited?
There is no known exploitation of CVE-2026-88022 in the wild and no public exploit code.
Other vulnerabilities in Laravel MongoDB (PHP)
Sources
Also known as GHSA-jcw9-p6mm-h9pj.