CVE-2026-77454exists/2 predicate silently dropped on limited relationships with a parent() filter in…
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. AshSql.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. This issue affects ash_sql: from 0.4.1 before 0.7.1.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ash-project ash_sql: affected: 0.4.1 to before 0.7.1; fixed in
0.7.1 - ash-project ash_sql: affected: e26a63b29bd7501505fafd726f14262cdc3b6629 to before 865fdd4e5e70724a23b19c048e6768c31d2209ab; fixed in
865fdd4e5e70724a23b19c048e6768c31d2209ab
Vendor advisories:
- https://github.com/ash-project/ash_sql/security/advisories/GHSA-8v9m-8pxv-738c (vendor-advisory)
- https://github.com/ash-project/ash_sql/commit/865fdd4e5e70724a23b19c048e6768c31d2209ab (patch)
References
- https://github.com/ash-project/ash_sql/security/advisories/GHSA-8v9m-8pxv-738c
- https://cna.erlef.org/cves/CVE-2026-77454.html
- https://osv.dev/vulnerability/EEF-CVE-2026-77454
- https://github.com/ash-project/ash_sql/commit/e26a63b29bd7501505fafd726f14262cdc3b6629
- https://github.com/ash-project/ash_sql/commit/865fdd4e5e70724a23b19c048e6768c31d2209ab
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.