Skip to content

CVE-2026-88028 Unauthorized document disclosure via query-operator injection in polymorphic relation identifiers in MongoDB integration for Laravel

HighCVSS 7.1 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Laravel

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
MongoDB Laravel MongoDB >= 1.2.0, < 5.11.0 5.11.0 Fixed
MongoDB Laravel MongoDB (PHP) >= 1.2.0, < 5.11.0 5.11.0 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Laravel MongoDB (PHP) >= 1.2.0, < 5.11.0 5.11.0
MongoDB Laravel MongoDB >= 1.2.0, < 5.11.0 5.11.0

References