Vulnerability · Published Sep 10, 2026 · Assigned by mongodb
CVE-2026-88028Unauthorized document disclosure via query-operator injection in polymorphic relation identifiers in MongoDB integration for Laravel
Medium 6.5
In plain English
A medium-severity security flaw in Laravel MongoDB (PHP) from MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities).
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | Laravel MongoDB (PHP) | 1.2.0 – before 5.11.0 |
Weakness: CWE-943 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N