CVE-2026-114214
published medium CVSS 4.0 · 6.0Loading a through relationship with a limit of 1 in Ash ignores the through path and returns unrelated destination records
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ash-project | — | ash3.24.0 to < 3.37.1 · Other versions: unaffected | Affected | Not stated | EEF |
| ash-project | — | ash-project/ashash · 24f41e23dcbd9d07cde270a8141490e8f79251f5 to < e37463307304b26bc8fd606322e5c4d8f7f060e5 · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ash-project | ash | 3.24.0 to < 3.37.1 (affected · semver)Default: unaffected | EEF · cna |
| ash-project | ash | 24f41e23dcbd9d07cde270a8141490e8f79251f5 to < e37463307304b26bc8fd606322e5c4d8f7f060e5 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-863 CWE-863 Incorrect Authorization
References
5- EEF CNA record for CVE-2026-114214 https://cna.erlef.org/cves/CVE-2026-114214.html
- Introducing commit 24f41e2 in ash-project/ash https://github.com/ash-project/ash/commit/24f41e23dcbd9d07cde270a8141490e8f79251f5
- Fix commit e374633 in ash-project/ash https://github.com/ash-project/ash/commit/e37463307304b26bc8fd606322e5c4d8f7f060e5
- Loading a `through` relationship on a single record with `limit: 1` ignores the through path and returns arbitrary destination records https://github.com/ash-project/ash/security/advisories/GHSA-g2h4-xp57-q863
- OSV record EEF-CVE-2026-114214 https://osv.dev/vulnerability/EEF-CVE-2026-114214
Provider assertions
2EEF · cna
Loading a through relationship with a limit of 1 in Ash ignores the through path and returns unrelated destination records
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4677296069e21d1cb38670028eb1f235624837bcadc5eea192705212097cae74
- Ingested
- 19 Nov 2026, 08:22:50 UTC
- Source record
- Official CVE record