{"id":"CVE-2026-114214","aliases":["EEF-CVE-2026-114214","GHSA-g2h4-xp57-q863"],"title":"Loading a through relationship with a limit of 1 in Ash ignores the through path and returns unrelated destination records","titleSource":"EEF","descriptionSource":"OSV","description":"## Summary\n\nIncorrect Authorization vulnerability in ash-project ash allows a client to read destination records unrelated to the source record through a `through` relationship.\n\nWhen 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.\n\nThis issue affects ash: from 3.24.0 before 3.37.1.\n\n## Impact\n\nA client paging a through relationship field with a limit of 1 reads destination records that should only be reachable through that relationship.\n\n## Configurations\n\nReachable when a `through` relationship is loaded for a single record with a caller-controlled limit of 1 (and optionally an offset), for example through AshGraphql relationship field arguments, and the destination resource's read policies rely on the relationship (`accessing_from`) or are otherwise open to the caller.","severity":"medium","score":6,"published":"2026-10-25T19:47:30.612Z","modified":"2026-11-25T06:30:05.570Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"ash","sources":[{"name":"OSV · EEF-CVE-2026-114214","url":"https://osv.dev/vulnerability/EEF-CVE-2026-114214"}],"ranges":[{"events":[{"introduced":"3.24.0"},{"fixed":"3.37.1"}],"type":"SEMVER"}],"versions":["3.24.0","3.24.1","3.24.2","3.24.3","3.24.4","3.24.5","3.24.6","3.24.7","3.25.0","3.25.1","3.25.2","3.26.0","3.27.0","3.27.1","3.27.2","3.27.3","3.27.4","3.27.5","3.27.6","3.27.7","3.27.8","3.28.0","3.29.0","3.29.1","3.29.2","3.29.3","3.30.0","3.30.1","3.31.0","3.31.1","3.31.2","3.31.3","3.32.0","3.32.1","3.32.2","3.32.3","3.33.0","3.33.1","3.33.10","3.33.11","3.33.2","3.33.3","3.33.4","3.33.5","3.33.6","3.33.7","3.33.8","3.33.9","3.34.0","3.34.1","3.34.2","3.34.3","3.34.4","3.34.5","3.34.6","3.35.0","3.36.0","3.36.1","3.37.0"],"fixed":["3.37.1"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"24f41e23dcbd9d07cde270a8141490e8f79251f5"},{"fixed":"e37463307304b26bc8fd606322e5c4d8f7f060e5"}],"type":"GIT","repo":"https://github.com/ash-project/ash"}],"versions":["v3.37.0","v3.36.1","v3.36.0","v3.35.0","v3.34.6","v3.34.5","v3.34.4","v3.34.3","v3.34.2","v3.34.1","v3.34.0","v3.33.11","v3.33.10","v3.33.9","v3.33.7","v3.33.6","v3.33.5","v3.33.4","v3.33.3","v3.33.2","v3.33.1","v3.32.3","v3.32.2","v3.32.1","v3.31.3","v3.31.2","v3.31.1","v3.31.0","v3.30.1","v3.30.0","v3.29.3","v3.29.2","v3.29.1","v3.29.0","v3.28.0","v3.27.8","v3.27.7","v3.27.6","v3.27.4","v3.27.3","v3.27.2","v3.27.1","v3.27.0","v3.26.0","v3.25.2","v3.25.1","v3.25.0","v3.24.7","v3.24.6","v3.24.5","v3.24.4","v3.24.3","v3.24.2","v3.24.1","v3.24.0"]}],"references":["https://github.com/ash-project/ash/security/advisories/GHSA-g2h4-xp57-q863","https://cna.erlef.org/cves/CVE-2026-114214.html","https://osv.dev/vulnerability/EEF-CVE-2026-114214","https://github.com/ash-project/ash/commit/24f41e23dcbd9d07cde270a8141490e8f79251f5","https://github.com/ash-project/ash/commit/e37463307304b26bc8fd606322e5c4d8f7f060e5","https://hex.pm/packages/ash"],"sources":[{"name":"CVE","id":"CVE-2026-114214","modified":"2026-11-19T08:12:05.521Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-114214"},{"name":"OSV","id":"EEF-CVE-2026-114214","modified":"2026-11-25T06:30:05.570087434Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-114214"}],"assessments":[{"source":"EEF","vector":"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","score":6},{"source":"OSV","vector":"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","score":6}],"cve":{"records":[{"id":"CVE-2026-114214","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-25T14:30:01.870Z","published":"2026-10-25T19:47:30.612Z","modified":"2026-11-19T08:12:05.521Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-19T08:12:05.521Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-10-26T14:35:21.414Z"}],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-g2h4-xp57-q863","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-114214.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-114214","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash/commit/24f41e23dcbd9d07cde270a8141490e8f79251f5","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash/commit/e37463307304b26bc8fd606322e5c4d8f7f060e5","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-863","description":"CWE-863 Incorrect Authorization","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","versionEndExcluding":"3.37.1","versionStartIncluding":"3.24.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-10-26T14:28:34.411522Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ash-project","name":"ash","platforms":[],"versions":[{"version":"3.24.0","status":"affected","lessThan":"3.37.1","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/ash","packageIdentity":{"ecosystem":"Hex","name":"ash"},"cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-114214"},{"vendor":"ash-project","name":"ash","platforms":[],"versions":[{"version":"24f41e23dcbd9d07cde270a8141490e8f79251f5","status":"affected","lessThan":"e37463307304b26bc8fd606322e5c4d8f7f060e5","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/ash-project/ash","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-114214"}],"remediation":[],"observedAt":"2026-11-25T07:55:21.252Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T22:50:31.316Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-21T05:40:31.310Z","attemptedAt":"2026-11-21T05:40:31.310Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-21T05:30:31.944Z","attemptedAt":"2026-11-21T05:30:31.944Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-21T05:10:31.758Z","attemptedAt":"2026-11-21T05:10:31.758Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-21T04:55:30.929Z","attemptedAt":"2026-11-21T04:55:30.929Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-114214","url":"https://www.first.org/epss/","probability":0.00246,"percentile":0.16162,"date":"2026-11-20","checkedAt":"2026-11-21T04:55:30.929Z"},{"source":"ENISA EUVD","id":"EUVD-2026-109567","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-109567","modified":"Nov 19, 2026, 8:12:05 AM","score":6,"vector":"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","checkedAt":"2026-11-21T05:10:31.758Z"},{"source":"NVD","id":"CVE-2026-114214","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114214","modified":"2026-10-26T15:16:38.597","score":6,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-21T05:40:31.310Z"}],"aiSummary":{"text":"Ash versions 3.24.0 before 3.37.1 have an Incorrect Authorization vulnerability, allowing a client to read unrelated destination records through a `through` relationship with a limit of 1. A client can enumerate destination records that policies allow only when reached through that relationship.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-20T07:56:10.052Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-114214"},{"name":"OSV","url":"https://osv.dev/vulnerability/EEF-CVE-2026-114214"}]}}