CVE-2026-88028 SQL injection in Laravel MongoDB (PHP)
An authenticated user can inject query operators into relation identifiers to retrieve unauthorized documents from the database.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-88028?
CVE-2026-88028 is a high-severity SQL injection vulnerability in Laravel MongoDB (PHP), published on 10 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Improper neutralization of special elements in data query logic in the polymorphic relation handling of the MongoDB integration for Laravel can cause a caller-supplied relation identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence a stored relation identifier may cause an affected application to return a document other than the intended relation target.
Weakness: CWE-943
Which versions are affected by CVE-2026-88028?
It affects 1 product.
Products include Mongodb Laravel Mongodb.
How do I fix CVE-2026-88028?
No fix has been published for CVE-2026-88028 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-88028 being exploited?
There is no known exploitation of CVE-2026-88028 in the wild and no public exploit code.
Other vulnerabilities in Laravel MongoDB (PHP)
Sources
Also known as GHSA-3jwc-jjcp-mq77.