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.
Severity (CVSS)
| Base score | 2.1 |
|---|---|
| Severity | Low |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-863 — CWE-863 Incorrect Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ash-project | ash_sql | 0.1.0 to <0.9.1 [affected] |
| ash-project | ash_sql | dd092ed273dec7bd2194352f24a39229fc8ae68b to <3bc558e984379448ede1db615ce16faea7e313e8 [affected] |
References
- https://github.com/ash-project/ash_sql/security/advisories/GHSA-3496-vm79-25q9 (vendor-advisory related)
- https://cna.erlef.org/cves/CVE-2026-128360.html (related)
- https://osv.dev/vulnerability/EEF-CVE-2026-128360 (related)
- https://github.com/ash-project/ash_sql/commit/dd092ed273dec7bd2194352f24a39229fc8ae68b (related)
- https://github.com/ash-project/ash_sql/commit/3bc558e984379448ede1db615ce16faea7e313e8 (patch)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 04 Dec 2026 08:01 UTC.