{"id":"CVE-2026-82749","state":"PUBLISHED","title":"Ash relationship parent(...) filter degrades to an IS NULL match when the parent field is unresolved, leaking scoped records","description":"Incorrect Authorization vulnerability in ash-project ash widens a relationship's parent(...) scoping filter to match unintended records when the referenced parent field cannot be resolved.\n\nLoading a relationship whose filter references parent(...) resolves that expression against the parent record. resolve_parent_in_filter/3 (lib/ash/actions/read/relationships.ex) resolved an unresolvable parent reference (for example when the referenced field was not selected on the source query) to nil rather than failing. A scoping predicate such as org_id == parent(org_id) then becomes an IS NULL match, and a guard like is_nil(parent(org_id)) or org_id == parent(org_id) activates its unrestricted branch, so the relationship returns records the scope was meant to exclude. The fix fails the read with an error when a parent(...) reference cannot be resolved, instead of defaulting to nil.\n\nThis issue affects ash: from 3.13.2 before 3.32.2.","publishedAt":"2026-09-01T03:54:12.716Z","updatedAt":"2026-09-01T12:38:27.534Z","severity":{"score":5.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"EEF"},"assigner":"EEF","products":["ash-project ash"],"affected":[{"vendor":"ash-project","product":"ash","packageName":"ash","packageURL":"pkg:hex/ash","defaultStatus":"unaffected","versions":[{"version":"3.13.2","status":"affected","lessThan":"3.32.2","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Actions.Read.Relationships'"],"programFiles":["lib/ash/actions/read/relationships.ex"],"programRoutines":[{"name":"'Elixir.Ash.Actions.Read.Relationships':resolve_parent_in_filter/3"},{"name":"'Elixir.Ash.Actions.Read.Relationships':do_per_record_no_attributes_load/5"}],"repo":"https://github.com/ash-project/ash"},{"vendor":"ash-project","product":"ash","packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","defaultStatus":"unaffected","versions":[{"version":"0ddff26e6e6bc6d182e1af2f98b431575e5b4179","status":"affected","lessThan":"e52dad2c39a35f6f043f7324d26e4f4e2551dfd2","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Actions.Read.Relationships'"],"programFiles":["lib/ash/actions/read/relationships.ex"],"programRoutines":[{"name":"'Elixir.Ash.Actions.Read.Relationships':resolve_parent_in_filter/3"},{"name":"'Elixir.Ash.Actions.Read.Relationships':do_per_record_no_attributes_load/5"}],"repo":"https://github.com/ash-project/ash"}],"references":["https://github.com/ash-project/ash/security/advisories/GHSA-j8fx-ff37-4j9c","https://cna.erlef.org/cves/CVE-2026-82749.html","https://osv.dev/vulnerability/EEF-CVE-2026-82749","https://github.com/ash-project/ash/commit/e52dad2c39a35f6f043f7324d26e4f4e2551dfd2"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/82xxx/CVE-2026-82749.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-82749","state":"PUBLISHED","datePublished":"2026-09-01T03:54:12.716Z","dateUpdated":"2026-09-01T12:38:27.534Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-08-31T01:00:09.774Z"},"containers":{"cna":{"title":"Ash relationship parent(...) filter degrades to an IS NULL match when the parent field is unresolved, leaking scoped records","descriptions":[{"lang":"en","value":"Incorrect Authorization vulnerability in ash-project ash widens a relationship's parent(...) scoping filter to match unintended records when the referenced parent field cannot be resolved.\n\nLoading a relationship whose filter references parent(...) resolves that expression against the parent record. resolve_parent_in_filter/3 (lib/ash/actions/read/relationships.ex) resolved an unresolvable parent reference (for example when the referenced field was not selected on the source query) to nil rather than failing. A scoping predicate such as org_id == parent(org_id) then becomes an IS NULL match, and a guard like is_nil(parent(org_id)) or org_id == parent(org_id) activates its unrestricted branch, so the relationship returns records the scope was meant to exclude. The fix fails the read with an error when a parent(...) reference cannot be resolved, instead of defaulting to nil.\n\nThis issue affects ash: from 3.13.2 before 3.32.2."}],"affected":[{"vendor":"ash-project","product":"ash","packageName":"ash","packageURL":"pkg:hex/ash","defaultStatus":"unaffected","versions":[{"version":"3.13.2","status":"affected","lessThan":"3.32.2","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Actions.Read.Relationships'"],"programFiles":["lib/ash/actions/read/relationships.ex"],"programRoutines":[{"name":"'Elixir.Ash.Actions.Read.Relationships':resolve_parent_in_filter/3"},{"name":"'Elixir.Ash.Actions.Read.Relationships':do_per_record_no_attributes_load/5"}],"repo":"https://github.com/ash-project/ash"},{"vendor":"ash-project","product":"ash","packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","defaultStatus":"unaffected","versions":[{"version":"0ddff26e6e6bc6d182e1af2f98b431575e5b4179","status":"affected","lessThan":"e52dad2c39a35f6f043f7324d26e4f4e2551dfd2","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Actions.Read.Relationships'"],"programFiles":["lib/ash/actions/read/relationships.ex"],"programRoutines":[{"name":"'Elixir.Ash.Actions.Read.Relationships':resolve_parent_in_filter/3"},{"name":"'Elixir.Ash.Actions.Read.Relationships':do_per_record_no_attributes_load/5"}],"repo":"https://github.com/ash-project/ash"}],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-j8fx-ff37-4j9c","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82749.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82749","tags":["related"]},{"url":"https://github.com/ash-project/ash/commit/e52dad2c39a35f6f043f7324d26e4f4e2551dfd2","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/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":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-01T03:54:12.716Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","versionEndExcluding":"3.32.2","versionStartIncluding":"3.13.2","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"finder","value":"Peter Ullrich"}],"impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","value":"CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-j8fx-ff37-4j9c","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-01T12:37:51.333023Z","id":"CVE-2026-82749","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-01T12:38:27.534Z"}}]}}}