AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

MongoDBGHSA-54r7-f4f5-j542

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

MongoDB

CVE-2026-88028 · Published Sep 11, 2026

High7.1
Fix: upgrade to 5.11.0 or later
GitHub advisory

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

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