{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-77454","published":"2026-08-30T12:17:17.273000Z","last_modified":"2026-11-19T09:17:58.437000Z","status":"Deferred","cvss":{"version":"4.0","score":5.9,"severity":"MEDIUM","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","primary":false},"auth":true,"cwes":["CWE-863"],"cpes":[],"cpes_truncated":false,"vendors":["ash-project"],"products":["ash-project/ash_sql"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"EEF-CVE-2026-77454","ecosystem":"Hex","name":"ash_sql","purl":"pkg:hex/ash_sql","ranges":[{"introduced":"0.4.1","fixed":"0.7.1"}],"versions":["0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9","0.7.0"],"versions_truncated":false}],"severity":"medium","priority_score":35,"links":{"html_es":"/es/cve/CVE-2026-77454/","html_en":"/en/cve/CVE-2026-77454/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-77454","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-77454"},"untrusted":{"vendor_name":"ash-project","product_name":"ash_sql","desc_en":"Incorrect Authorization vulnerability in ash-project ash_sql allows a caller to bypass a scoping or authorization filter expressed as exists/2 over a relationship that declares both a limit (or from_many?) and a parent(...)-referencing filter or sort.\n\nAshSql.Join.related_query/3 skips the caller-supplied exists predicate for such relationships and delegates it to limit_from_many/5. When the relationship's own filter or sort references parent(...), limit_from_many/5 takes a branch that drops both the limit and the predicate, emitting a bare correlated EXISTS with no predicate. The check then matches any record that has any related row. Most severely, when the expression backs a policy (for example authorize_if expr(exists(memberships, user_id == ^actor(:id)))), the actor-scoping condition disappears and the policy passes for any actor with any related row.\n\nThis issue affects ash_sql: from 0.4.1 before 0.7.1.","affected":[{"untrusted_vendor":"ash-project","untrusted_product":"ash_sql","versions":[]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-77454.html","tags":[]},{"url":"https://github.com/ash-project/ash_sql/commit/865fdd4e5e70724a23b19c048e6768c31d2209ab","tags":[]},{"url":"https://github.com/ash-project/ash_sql/commit/e26a63b29bd7501505fafd726f14262cdc3b6629","tags":[]},{"url":"https://github.com/ash-project/ash_sql/security/advisories/GHSA-8v9m-8pxv-738c","tags":[]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-77454","tags":[]}]}}