{"schemaVersion":4,"id":"CVE-2026-142637","aliases":["CGA-mmj3-mrhg-fg43"],"status":"published","duplicateOf":null,"title":"Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values","description":"Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, When Rule::exists() or Rule::unique() is scoped with the fluent where() method, the condition is serialized into the string rule format and parsed again. A scalar value of NULL, NOT_NULL, or one starting with ! could be evaluated as an IS NULL, IS NOT NULL, or not-equal predicate instead of a literal comparison. If an attacker can influence a scope value, such as a tenant key, and the application relies on the rule to verify ownership of a referenced record, the validation can accept records from other scopes. For unique, the scope can be widened. Applications that use independent authorization checks or closure-based where() conditions are not affected in the same way. This issue is fixed in versions 13.43.0 and 12.73.0.","dates":{"published":"2026-12-02T22:42:47.618Z","modified":"2026-12-03T16:10:09.684Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.8,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00327,"percentile":0.27838,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-03T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00327,"percentile":0.27838}],"last30":[{"date":"2026-12-03T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00327,"percentile":0.27838}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic","description":"The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/943.html"}],"affected":[{"vendor":"chainguard","product":"linuxserver-heimdal","name":"linuxserver-heimdal","label":"linuxserver-heimdal","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/linuxserver-heimdal","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"laravel","product":"framework","name":"framework","label":"framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 13.0.0, < 13.43.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"13.0.0","startInclusive":true,"end":"13.43.0","endInclusive":false}},{"text":"< 12.73.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"12.73.0","endInclusive":false}}],"versionsText":"≥ 13.0.0, < 13.43.0 | < 12.73.0","eol":null,"hubHref":"/vendor/laravel/framework"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/laravel/framework/security/advisories/GHSA-ch34-gjmh-c4hp","label":"github.com/laravel/framework/security/advisories/GHSA-ch34-gjmh-c4hp","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/laravel/framework/pull/62425","label":"github.com/laravel/framework/pull/62425","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/laravel/framework/pull/62426","label":"github.com/laravel/framework/pull/62426","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/laravel/framework/commit/029e3a4ceb0c8b7e8394639b161e7d4ef906af54","label":"github.com/laravel/framework/commit/029e3a4ceb0c8b7e8394639b161e7d4ef906af54","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/laravel/framework/commit/ef1821b33245d58631784ac2093aed0c5bb91242","label":"github.com/laravel/framework/commit/ef1821b33245d58631784ac2093aed0c5bb91242","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/laravel/framework/releases/tag/v12.73.0","label":"github.com/laravel/framework/releases/tag/v12.73.0","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/laravel/framework/releases/tag/v13.43.0","label":"github.com/laravel/framework/releases/tag/v13.43.0","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-02T22:42:47.618Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-03T16:10:09.684Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,48],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00327,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-03T16:10:09.684Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-03T16:10:09.684Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-03T15:10:11.127Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00327,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:19:33.958Z","stale":false,"partial":false}}