{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Actions.Read.Relationships'"],"packageName":"ash","packageURL":"pkg:hex/ash","product":"ash","programFiles":["lib/ash/actions/read/relationships.ex"],"programRoutines":[{"name":"'Elixir.Ash.Actions.Read.Relationships':lateral_join?/4"},{"name":"'Elixir.Ash.Actions.Read.Relationships':load/4"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"lessThan":"3.37.1","status":"affected","version":"3.24.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Actions.Read.Relationships'"],"packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","product":"ash","programFiles":["lib/ash/actions/read/relationships.ex"],"programRoutines":[{"name":"'Elixir.Ash.Actions.Read.Relationships':lateral_join?/4"},{"name":"'Elixir.Ash.Actions.Read.Relationships':load/4"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"lessThan":"e37463307304b26bc8fd606322e5c4d8f7f060e5","status":"affected","version":"24f41e23dcbd9d07cde270a8141490e8f79251f5","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Reachable when a <code>through</code> 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 (<code>accessing_from</code>) or are otherwise open to the caller.</p>"},{"base64":false,"type":"text/markdown","value":"Reachable 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."}],"value":"Reachable 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."}],"cpeApplicability":[{"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"}],"credits":[{"lang":"en","type":"finder","value":"Will Townsend"},{"lang":"en","type":"reporter","value":"Will Townsend"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"}],"dateAssigned":"2026-10-25T17:24:26.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Incorrect Authorization vulnerability in ash-project ash allows a client to read destination records unrelated to the source record through a <code>through</code> relationship.</p>\n<p>When a <code>has_many</code> relationship declared with <code>through:</code> was loaded for a single record with a limit of 1, or an unsorted <code>has_one</code> <code>through</code> relationship was loaded with a limit of 1, <code>lateral_join?/4</code> in <code>lib/ash/actions/read/relationships.ex</code> 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 <code>offset</code>. The read still runs the destination's policies but carries the relationship as <code>accessing_from</code>, so a client paging such a field (for example <code>teachers(limit: 1, offset: n)</code> through AshGraphql) can enumerate destination records that policies allow only when reached through that relationship.</p>\n<p>This issue affects ash: from 3.24.0 before 3.37.1.</p>"},{"base64":false,"type":"text/markdown","value":"Incorrect 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."}],"value":"Incorrect 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."}],"impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>A client paging a through relationship field with a limit of 1 reads destination records that should only be reachable through that relationship.</p>"},{"base64":false,"type":"text/markdown","value":"A client paging a through relationship field with a limit of 1 reads destination records that should only be reachable through that relationship."}],"value":"A client paging a through relationship field with a limit of 1 reads destination records that should only be reachable through that relationship."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-25T19:47:30.612Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"Loading a `through` relationship on a single record with `limit: 1` ignores the through path and returns arbitrary destination records","tags":["vendor-advisory","related"],"url":"https://github.com/ash-project/ash/security/advisories/GHSA-g2h4-xp57-q863"},{"name":"EEF CNA record for CVE-2026-114214","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-114214.html"},{"name":"OSV record EEF-CVE-2026-114214","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-114214"},{"name":"Introducing commit 24f41e2 in ash-project/ash","tags":["related"],"url":"https://github.com/ash-project/ash/commit/24f41e23dcbd9d07cde270a8141490e8f79251f5"},{"name":"Fix commit e374633 in ash-project/ash","tags":["patch"],"url":"https://github.com/ash-project/ash/commit/e37463307304b26bc8fd606322e5c4d8f7f060e5"}],"source":{"discovery":"EXTERNAL"},"title":"Loading a through relationship with a limit of 1 in Ash ignores the through path and returns unrelated destination records"}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-114214","datePublished":"2026-10-25T19:47:30.612Z","dateReserved":"2026-10-25T14:30:01.870Z","dateUpdated":"2026-10-25T19:47:30.612Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}