Medium severity · published Oct 25, 2026
CVE-2026-114214
Loading a through relationship with a limit of 1 in Ash ignores the through path and returns unrelated destination records
New
6.0
CVSS
0.2%
EPSS
No
On KEV
Description
Incorrect Authorization vulnerability in ash-project ash allows a client to read destination records unrelated to the source record through a through relationship.
When a has_many relationship declared with through: was loaded for a single record with a limit of 1, or an unsorted has_one through relationship was loaded with a limit of 1, lateral_join?/4 in lib/ash/actions/read/relationships.ex chose the path that reads the destination without any filter linking it to the source. The load returned the first destination record by sort, or any other record with an offset. The read still runs the destination's policies but carries the relationship as accessing_from, so a client paging such a field (for example teachers(limit: 1, offset: n) through AshGraphql) can enumerate destination records that policies allow only when reached through that relationship.
This issue affects ash: from 3.24.0 before 3.37.1.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 16% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
ash · ash-project
3.24.0 before 3.37.1; 24f41e23dcbd9d07cde270a8141490e8f79251f5 before e37463307304b26bc8fd606322e5c4d8f7f060e5 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-114214
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-114214
cna.erlef.org
https://cna.erlef.org/cves/CVE-2026-114214.html
github.com
https://github.com/ash-project/ash/commit/24f41e23dcbd9d07cde270a8141490e8f79251f5
github.com
https://github.com/ash-project/ash/commit/e37463307304b26bc8fd606322e5c4d8f7f060e5
github.com
https://github.com/ash-project/ash/security/advisories/GHSA-g2h4-xp57-q863
osv.dev
https://osv.dev/vulnerability/EEF-CVE-2026-114214
More from ash
8.6
CVE-2025-48044
Authorization bypass when bypass policy condition evaluates to true
8.6
CVE-2025-48043
Bypass and runtime policies that can never pass may be incorrectly applied in filter authorization
8.2
CVE-2026-94201
Filtering an :atom attribute with unsafe_to_atom? can exhaust the BEAM atom table in Ash
7.6
CVE-2026-96581
An upsert on the primary key in Ash ignores attribute multitenancy, so one tenant can read, overwrite and take over another tenant's records
7.5
CVE-2026-34593
Ash Framework: Ash.Type.Module.cast_input/2 atom exhaustion via unchecked Module.concat allows BEAM VM crash
