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.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | Laravel MongoDB (PHP) | >= 1.2.0, < 5.11.0 |
References
- https://jira.mongodb.org/browse/PHPLARA-265Vendor Advisory
Timeline
- Published
- Sep 10, 2026
- Last modified
- Sep 29, 2026
- NVD status
- Analyzed