MongoDB Laravel MongoDB (PHP)
Unauthorized document disclosure via query-operator injection in polymorphic relation identifiers in MongoDB integration for Laravel
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CNA · CWE-943
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
MongoDB Laravel MongoDB (PHP)
- >= 1.2.0, < 5.11.0
Fixed in 5.11.0
Mitigation
Upgrade Laravel MongoDB (PHP) to 5.11.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.