๐Ÿ” CVE Alert

CVE-2026-135145

HIGH 8.1

Incorrect authorization in whereDoesntHave morph-map handling in Laravel MongoDB

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-863
Vendor mongodb
Product php driver
Ecosystems
Industries
Technology
Published Nov 25, 2026
Last Updated Nov 25, 2026
Stay Ahead of the Next One

Get instant alerts for mongodb php driver

Be the first to know when new high vulnerabilities affecting mongodb php driver are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Affected Versions

MongoDB / PHP Driver
4.1.0 < 5.12.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
jira.mongodb.org: https://jira.mongodb.org/browse/PHPLARA-320