Vulnerability EEF-CVE-2026-81316

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
2 months ago
August 30, 2026 at 11:59 AM UTC
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
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

Summary

Same-named aggregates with differing filters are conflated in AshSql

Details

Summary

Incorrect Authorization vulnerability in ash-project ash_sql allows a caller to receive an aggregate value computed over rows a more restrictive filter should have excluded, disclosing counts, sums, or lists across an authorization or tenancy boundary.

AshSql.Aggregate.different_queries?/2 reports two aggregate queries as different only when their filter and their sort both differ. Aggregate queries rarely carry a sort, so two aggregates that share a name but carry entirely different filters compare as identical. The colliding aggregate keeps its name and is treated as already computed, and select_aggregates returns the first-registered variant's value. The same name reaches the builder twice with different filters when actor or tenant context is stamped into each aggregate's query, so a narrowly filtered aggregate can be served the value of a previously registered broad one.

This issue affects ash_sql: from 0.1.0 before 0.7.1.

Configurations

An application must compute an aggregate whose name also reaches the query builder under a second, differently filtered context (for example the same aggregate used both as a filter dependency and loaded, where actor or tenant scoping stamps distinct filters onto each).

Related Vulnerabilities

Other vulnerabilities affecting the same packages

Unknown
2 months ago
exists/2 predicate silently dropped on limited relationships with a parent() filter in AshSql
0.4.1 - 0.7.0 EEF-CVE-2026-77454
0.4.1 - 0.7.0 EEF-CVE-2026-77454
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 11:59 AM UTC
Fixed (0.7.1)
2 months ago
August 30, 2026 at 05:54 AM UTC
Last Modified
1 day ago
November 20, 2026 at 05:23 PM UTC