CVE-2026-135145
7.6high
Incorrect authorization in whereDoesntHave morph-map handling in Laravel MongoDB
- Severity
- 7.6high CVSS:4.0 by mongodb
- Exploit likelihood
- 0.55% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
Description
A polymorphic relationship query helper in the MongoDB Eloquent integration for Laravel resolves a record's type identifier inconsistently between the code that stores a relationship link and the code that searches for one. An application that relies on a relationship-absence query to restrict which records a request may see or change can therefore have that restriction silently fail, allowing a user with basic application privileges to read and to modify or remove records the restriction was meant to cover.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB PHP Driver | from 4.1.0 before 5.12.2 | CVE List |
All scores
| mongodb | 7.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| mongodb | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-135145 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2026-135145 changed 2026-11-25 | Public domain |