Skip to content
MongoDBGHSA-54r7-f4f5-j542

### Impact Improper neutralization of special elements in data query logic in...

High7.1CVE-2026-88028 · Published Sep 11, 2026

### Impact 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. ### Patches Fixed in 5.11.0. ### Workarounds Add validation in application. ### References https://jira.mongodb.org/browse/PHPLARA-265

GitHub advisory

Affected versions

PackageAffectedFixed in
mongodb/laravel-mongodb
Product
>= 1.2.0, < 5.11.05.11.0
Details and references
CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Severity from
GitHub (reviewed advisory)

More MongoDB advisories

All MongoDB

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.