CVE-2026-135145
JSON

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 packageVersionsReported by
MongoDB PHP Driverfrom 4.1.0 before 5.12.2CVE List

All scores

mongodb7.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
mongodb8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-135145 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-135145 changed 2026-11-25Public domain