{"id":"CVE-2026-135145","aliases":["CVE-2026-135145"],"related":[],"kind":"vulnerability","state":"published","title":"Incorrect authorization in whereDoesntHave morph-map handling in Laravel MongoDB","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-25T16:29:34.767Z","modified":"2026-11-25T20:18:10.493Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":7.6,"rating":"HIGH"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"4.1.0","fixed":"5.12.2","status":"affected"}],"vendor":"MongoDB","product":"PHP Driver","source":"cvelist"}],"references":[{"url":"https://jira.mongodb.org/browse/PHPLARA-320","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-25T16:44:52.572Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-135145","url":"https://www.cve.org/CVERecord?id=CVE-2026-135145","licence":"CVE Terms of Use","modified":"2026-11-25T16:45:02.410Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-135145","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135145","licence":"Public domain","modified":"2026-11-25T20:18:10.493Z"}],"updatedAt":"2026-11-25T23:18:08.399Z","epss":{"score":0.00553,"percentile":0.47609,"date":"2026-12-01T12:00:22.000Z"}}