Vulnerability EEF-CVE-2026-77454

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
2 months ago
August 30, 2026 at 12:01 PM UTC
exists/2 predicate silently dropped on limited relationships with a parent() filter in AshSql
0.4.1 - 0.7.0
0.4.1 - 0.7.0

Summary

exists/2 predicate silently dropped on limited relationships with a parent() filter in AshSql

Details

Summary

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.

Configurations

An application must use exists/2 (in a filter or a policy) over a relationship that declares both a limit or from_many? and a filter or sort that references parent(...). The predicate supplied to exists/2 is the one that is dropped.

Related Vulnerabilities

Other vulnerabilities affecting the same packages

Unknown
2 months ago
Same-named aggregates with differing filters are conflated in AshSql
0.1.1-rc.0 and 0.1.1-rc.1 and 0.1.1-rc.2 and 0.1.1-rc.3 and 0.1.1-rc.4 and 0.1.1-rc.5 and 0.1.1-rc.6 and 0.1.1-rc.7 and 0.1.1-rc.8 and 0.1.1-rc.9 and 0.1.1-rc.10 and 0.1.1-rc.11 and 0.1.1-rc.12 and 0.1.1-rc.13 and 0.1.1-rc.14 and 0.1.1-rc.15 and 0.1.1-rc.16 and 0.1.1-rc.17 and 0.1.1-rc.18 and 0.1.1-rc.19 and 0.1.1-rc.20 - 0.7.0 EEF-CVE-2026-81316
0.1.1-rc.0 and 0.1.1-rc.1 and 0.1.1-rc.2 and 0.1.1-rc.3 and 0.1.1-rc.4 and 0.1.1-rc.5 and 0.1.1-rc.6 and 0.1.1-rc.7 and 0.1.1-rc.8 and 0.1.1-rc.9 and 0.1.1-rc.10 and 0.1.1-rc.11 and 0.1.1-rc.12 and 0.1.1-rc.13 and 0.1.1-rc.14 and 0.1.1-rc.15 and 0.1.1-rc.16 and 0.1.1-rc.17 and 0.1.1-rc.18 and 0.1.1-rc.19 and 0.1.1-rc.20 - 0.7.0 EEF-CVE-2026-81316
Unknown
2 months ago
Distinct-query aggregate drops the tenant schema prefix, leaking across tenants in AshSql
0.1.1-rc.0 and 0.1.1-rc.1 and 0.1.1-rc.2 and 0.1.1-rc.3 and 0.1.1-rc.4 and 0.1.1-rc.5 and 0.1.1-rc.6 and 0.1.1-rc.7 and 0.1.1-rc.8 and 0.1.1-rc.9 and 0.1.1-rc.10 and 0.1.1-rc.11 and 0.1.1-rc.12 and 0.1.1-rc.13 and 0.1.1-rc.14 and 0.1.1-rc.15 and 0.1.1-rc.16 and 0.1.1-rc.17 and 0.1.1-rc.18 and 0.1.1-rc.19 and 0.1.1-rc.20 - 0.7.0 EEF-CVE-2026-81318
0.1.1-rc.0 and 0.1.1-rc.1 and 0.1.1-rc.2 and 0.1.1-rc.3 and 0.1.1-rc.4 and 0.1.1-rc.5 and 0.1.1-rc.6 and 0.1.1-rc.7 and 0.1.1-rc.8 and 0.1.1-rc.9 and 0.1.1-rc.10 and 0.1.1-rc.11 and 0.1.1-rc.12 and 0.1.1-rc.13 and 0.1.1-rc.14 and 0.1.1-rc.15 and 0.1.1-rc.16 and 0.1.1-rc.17 and 0.1.1-rc.18 and 0.1.1-rc.19 and 0.1.1-rc.20 - 0.7.0 EEF-CVE-2026-81318
Unknown
2 months ago
Unescaped backslash allows LIKE wildcard injection in AshSql string search
0.1.1-rc.10 and 0.1.1-rc.11 and 0.1.1-rc.12 and 0.1.1-rc.13 and 0.1.1-rc.14 and 0.1.1-rc.15 and 0.1.1-rc.16 and 0.1.1-rc.17 and 0.1.1-rc.18 and 0.1.1-rc.19 and 0.1.1-rc.20 - 0.7.0 EEF-CVE-2026-78691
0.1.1-rc.10 and 0.1.1-rc.11 and 0.1.1-rc.12 and 0.1.1-rc.13 and 0.1.1-rc.14 and 0.1.1-rc.15 and 0.1.1-rc.16 and 0.1.1-rc.17 and 0.1.1-rc.18 and 0.1.1-rc.19 and 0.1.1-rc.20 - 0.7.0 EEF-CVE-2026-78691
Unknown
2 months ago
SQL string_trim removes only spaces, diverging from in-memory trimming in AshSql
0.1.1-rc.0 and 0.1.1-rc.1 and 0.1.1-rc.2 and 0.1.1-rc.3 and 0.1.1-rc.4 and 0.1.1-rc.5 and 0.1.1-rc.6 and 0.1.1-rc.7 and 0.1.1-rc.8 and 0.1.1-rc.9 and 0.1.1-rc.10 and 0.1.1-rc.11 and 0.1.1-rc.12 and 0.1.1-rc.13 and 0.1.1-rc.14 and 0.1.1-rc.15 and 0.1.1-rc.16 and 0.1.1-rc.17 and 0.1.1-rc.18 and 0.1.1-rc.19 and 0.1.1-rc.20 - 0.7.0 EEF-CVE-2026-80227
0.1.1-rc.0 and 0.1.1-rc.1 and 0.1.1-rc.2 and 0.1.1-rc.3 and 0.1.1-rc.4 and 0.1.1-rc.5 and 0.1.1-rc.6 and 0.1.1-rc.7 and 0.1.1-rc.8 and 0.1.1-rc.9 and 0.1.1-rc.10 and 0.1.1-rc.11 and 0.1.1-rc.12 and 0.1.1-rc.13 and 0.1.1-rc.14 and 0.1.1-rc.15 and 0.1.1-rc.16 and 0.1.1-rc.17 and 0.1.1-rc.18 and 0.1.1-rc.19 and 0.1.1-rc.20 - 0.7.0 EEF-CVE-2026-80227
View all vulnerabilities for these packages

Impacted packages

Timeline

Published
2 months ago
August 30, 2026 at 12:01 PM UTC
Fixed (0.7.1)
2 months ago
August 30, 2026 at 05:54 AM UTC
Last Modified
2 days ago
November 20, 2026 at 06:00 AM UTC