CVE-2026-128360
Aggregates given a tenant are read in the enclosing query's tenant, leaking across tenants in AshSql
Description
Incorrect Authorization vulnerability in ash_sql allows a caller in a multitenant application to receive aggregate values computed from another tenant's rows. An aggregate can be given a tenant with the tenant option of Ash.Query.aggregate/5. AshSql.Aggregate.Lateral.add_aggregates/6 read only part of such an aggregate in that tenant. A field that is an aggregate or calculation, and what the aggregate's filter and sort refer to, were read in the tenant of the enclosing query, and with no tenant on that query they were read across every tenant. Aggregates over the same relationship were grouped into one lateral join without regard to their tenants, and with strategy(:context) multitenancy the aggregate was read in the schema of the enclosing query. This issue affects ash_sql: from 0.1.0 before 0.9.1.
INFO
Published Date :
Dec. 4, 2026, 6:17 a.m.
Last Modified :
Dec. 4, 2026, 6:17 a.m.
Remotely Exploit :
No
Source :
EEF
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | LOW | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db |
Solution
- Update ash_sql to version 0.9.1 or later.
- Review tenant access controls and query logic.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-128360 vulnerability anywhere in the article.