{"id":"CVE-2026-135145","aliases":[],"title":"Incorrect authorization in whereDoesntHave morph-map handling in Laravel MongoDB","originalDescription":"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.","severity":{"cvss":7.6,"vector":"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","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00553,"percentile":0.39914},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"PHP Driver","range":">=4.1.0, <5.12.2","fixed":"5.12.2"}],"references":[{"url":"https://jira.mongodb.org/browse/PHPLARA-320","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-25T20:25:28.691Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135145","license":"NVD terms of use","firstSeenAt":"2026-11-25T17:40:40.379Z"},{"name":"cvelistV5","at":"2026-11-28T22:41:01.419Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-135145","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T17:04:53.363Z"}],"firstSeenAt":"2026-11-25T17:04:53.363Z","publishedAt":"2026-11-25T16:29:34.767Z","modifiedAt":"2026-11-25T20:18:10.493Z"}