Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege actor
-
ExploitCraft filter/sort over hidden relationship
-
ExecutionIssue Ash.count/exists/aggregate queries
-
ImpactInfer protected related-record existence and values
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the application to pass actor-controlled filter or sort input into Ash.count/2, Ash.exists/2, or Ash.aggregate/3 where that filter/sort crosses a relationship - referencing a related resource's attribute directly (e.g., comments.body) or through an aggregate over a relationship. Concrete exposure paths named in the advisory are Ash.Query.filter_input/2, ash_lua scripts, and AshAi tools that offer count or exists results. Limiting factors: the actor must be authenticated with some legitimate read access (PR:L); the application must actually surface user-driven filter/sort to aggregates (the AT:P attack requirement); and the Ash version must be between 2.6.0 and 3.34.6. Ash.read/2 and its page counts are explicitly not affected, so apps that never route untrusted input into aggregate queries are not exposed. |
| Impact | This is a medium-severity information-disclosure flaw (vendor CVSS 4.0 base 6.0). The vector CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N is internally consistent with the description: network-reachable (AV:N) but requiring an authenticated actor with some existing read access (PR:L) and - critically - the AT:P 'attack requirement' flag, which reflects that the application must actually expose actor-controlled filter/sort input to the aggregate functions. Confidentiality-only impact (VC:H, VI:N/VA:N) matches an authorization bypass that leaks data rather than altering it. KEV status is not listed (no confirmed active exploitation), no public PoC is referenced, and no EPSS score was provided, so exploitation-probability signals are simply absent rather than conflicting. SSVC decision data was also not supplied. Net assessment: a genuine but conditional authorization defect, not a drop-everything emergency - it only matters where an Ash app forwards untrusted filter/sort into Ash.count/exists/aggregate across relationships. Prioritize patching for apps exposing query-building to users (GraphQL/JSON APIs, ash_lua, AshAi tools); deprioritize where aggregates are never driven by actor input. EPSS absence means widespread opportunistic exploitation cannot be scored from the data provided. |
| Exploit ScenarioDerived | An authenticated low-privilege user of an Ash-backed API supplies a crafted filter or sort (via Ash.Query.filter_input/2, an ash_lua script, or an AshAi count/exists tool) that references an attribute on a related resource they are not permitted to read. By issuing repeated Ash.count/2 or Ash.exists/2 queries and observing whether counts change, the attacker binary-searches hidden attribute values one query at a time. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 09, 2026
Information disclosure in the Ash framework for Elixir (versions 2.6.0 up to but not including 3.34.6) lets an authenticated actor infer the existence and attribute values of related records they are not authorized to read. Because the aggregate code path (Ash.Actions.Aggregate.run/4) applied only the root resource's read policy and skipped the per-related-resource read policies that the normal read path enforces, a caller who can influence filter or sort input on Ash.count/2, Ash.exists/2, or Ash.aggregate/3 can probe conditions against hidden rows and recover their contents one query at a time. Concrete exposure paths named in the advisory are Ash.Query.filter_input/2, ash_lua scripts, and AshAi tools that expose count or exists results; the vendor rates this 6.0 under CVSS 4.0 and our independent assessment places it at CVSS 3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N, and no public exploit identified at time of analysis.
RemediationAI
Upgrade the ash dependency to 3.34.6 or later, the first fixed release per the vendor advisory at https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p. The upstream fix is captured in the patch commits https://github.com/ash-project/ash/commit/80936187b27ee94f15cd875affd3141b5cb23185 and https://github.com/ash-project/ash/commit/30eaf1c6e8524527b703e3c4bfeff7967ee0b37c, so pinning to a commit on a maintained branch is possible where a Hex upgrade cannot be scheduled; released patched version is 3.34.6. If upgrading is not immediately feasible, treat actor-supplied filter and sort expressions as untrusted input to aggregate functions: do not pass user input into Ash.count/2, Ash.exists/2, or Ash.aggregate/3 filters or sorts that traverse relationships, and instead resolve counts and existence checks through Ash.read/2, which is unaffected - at the cost of additional query work and pagination handling. Where dynamic filtering is required, constrain it with allow-listed fields that do not cross relationships, disable or sandbox ash_lua scripts and AshAi tools that surface count or exists, and audit interfaces built on Ash.Query.filter_input/2 for actor-controlled relationship references. These compensating controls reduce but do not fully eliminate the leak, since any remaining path that lets a caller vary a cross-relationship aggregate predicate preserves the inference oracle.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Ash is an Elixir application framework that layers declarative resources, policies, and actions over Ecto/Postgres-style data layers. This is a CWE-863 Incorrect Authorization flaw rooted in an asymmetry between two code paths: Ash.Actions.Read applies each related resource's read policy when filtering and sorting cross a relationship (for example a filter on comments.body, or on an aggregate computed over a relationship), but Ash.Actions.Aggregate.run/4 built its aggregate query after evaluating only the root resource's read policy. The result is that an authorization filter which should have been injected into the aggregate's underlying query was never applied, enabling a boolean-style oracle: an attacker varies a filter or sort expression and observes whether count/exists/aggregate results change, thereby leaking the existence and attribute values of rows hidden by policy. The vulnerability is version-bounded to ash 2.6.0 through 3.34.5; CPE data identifies the affected package as cpe:2.3:a:ash-project:ash (version range 2.6.0 to before 3.34.6). The upstream fix reworks the aggregate path so authorization filters are merged into the aggregate's query rather than attached as a separate authorization_filter, aligning aggregate authorization with the read path.
Know when Ash gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network API reachable by an authenticated partial-read actor (PR:L); AC:H reflects the required app exposure of actor-controlled filter/sort to aggregates; confidentiality-only leak, so C:H, I:N, A:N.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Private argument injection in the Ash Elixir framework (versions 3.0.0 through 3.29.2) allows end users to set action ar
An issue was discovered in the ash crate before 0.33.1 for Rust. Rated critical severity (CVSS 9.8), this vulnerability
Unauthenticated attackers can turn a forged keyset pagination cursor into OS command execution or raw SQL injection in E
Atom table exhaustion in the Ash framework (Elixir) allows an unauthenticated remote attacker to crash a BEAM node by su
Cross-tenant record takeover in the Ash framework (Elixir) for versions 1.22.0 up to 3.37.2: when a resource uses attrib
An authorization bypass in the Ash framework (Elixir) lets authenticated, lower-privileged actors recover values they ar
An incorrect authorization flaw in the Elixir Ash framework (versions 3.24.0 up to but not including 3.37.1) lets an aut
Persistent record-level denial of service in the ash Elixir resource framework (versions 3.6.3-3.32.1) lets any actor wh
Integer overflow in Ash Framework's vector encoding corrupts stored vectors in any Elixir application using Ash versions
CPU exhaustion in Ash Framework's string type constraint handler allows denial of service against Elixir applications th
Memory exhaustion via decompression bomb in Ash Framework's keyset pagination can terminate Erlang nodes running version
Unbounded string storage in Ash Framework versions 0.10.0 through 3.32.x allows unauthenticated attackers to bypass max_
EUVD-2026-95511
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB