# CVE-2026-114214: Loading a through relationship with a limit of 1 in Ash ignores the through path and returns unrelated destination records

- Severity: Medium 6.0 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-10-25T19:47:30.612Z
- Modified: 2026-11-25T06:30:05.570Z
- Also known as: EEF-CVE-2026-114214, GHSA-g2h4-xp57-q863
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- ash: from 3.24.0 before 3.37.1
- ash-project/ash: from 24f41e23dcbd9d07cde270a8141490e8f79251f5 before e37463307304b26bc8fd606322e5c4d8f7f060e5
- ash (Hex): from 3.24.0 before 3.37.1
- https://github.com/ash-project/ash: from 24f41e23dcbd9d07cde270a8141490e8f79251f5 before e37463307304b26bc8fd606322e5c4d8f7f060e5

## Every score

- EEF: CVSS:4.0 6.0 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/ash-project/ash/security/advisories/GHSA-g2h4-xp57-q863> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-114214.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-114214> (related)
- <https://github.com/ash-project/ash/commit/24f41e23dcbd9d07cde270a8141490e8f79251f5> (related, web)
- <https://github.com/ash-project/ash/commit/e37463307304b26bc8fd606322e5c4d8f7f060e5> (fix, patch)
- <https://hex.pm/packages/ash> (package)

## Sources

- CVE List: [CVE-2026-114214](https://www.cve.org/CVERecord?id=CVE-2026-114214), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-114214](https://osv.dev/vulnerability/EEF-CVE-2026-114214), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-114214](https://nvd.nist.gov/vuln/detail/CVE-2026-114214), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-114214 · Whole record: https://cve.day/CVE-2026-114214.json · Rebuilt by cve.day 2026-11-25T22:59:47.075Z
