CVE-2026-101028
Description
Incorrect Authorization vulnerability in ash-project ash allows an actor to infer data in related records they cannot read via Ash.count/2, Ash.exists/2 and Ash.aggregate/3. Ash.Actions.Aggregate.run/4 (lib/ash/actions/aggregate.ex) applied only the root resource's read policy before running the aggregate query. The read path also applies each related resource's read policy to filter and sort references that cross a relationship, directly (for example comments.body) or through an aggregate over one, but the aggregate path skipped that step. A caller whose filter or sort reaches these functions, for example through Ash.Query.filter_input/2, an ash_lua script, or an AshAi tool offering count or exists results, can test conditions against related rows hidden from them and recover their existence and attribute values one query at a time. Ash.read/2 and its page counts are not affected. This issue affects ash: from 2.6.0 before 3.34.6.
How to fix
- ash-project ash3.34.6, 80936187b27ee94f15cd875affd3141b5cb23185 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ash-project ash | 2.6.0 ≤ v < 3.34.6, 30eaf1c6e8524527b703e3c4bfeff7967ee0b37c ≤ v < 80936187b27ee94f15cd875affd3141b5cb23185 | 3.34.6, 80936187b27ee94f15cd875affd3141b5cb23185 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.