5.9medium
Ash relationship parent(...) filter degrades to an IS NULL match when the parent field is unresolved, leaking scoped records
- Severity
- 5.9medium CVSS:4.0 by EEF
- Exploit likelihood
- 0.18% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- EEF
- Also known as
- EEF-CVE-2026-82749GHSA-j8fx-ff37-4j9c
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. Loading 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. This issue affects ash: from 3.13.2 before 3.32.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ash | from 3.13.2 before 3.32.2 | CVE List |
| ash-project/ash | from 0ddff26e6e6bc6d182e1af2f98b431575e5b4179 before e52dad2c39a35f6f043f7324d26e4f4e2551dfd2 | CVE List |
| ash (Hex) | from 3.13.2 before 3.32.2 | Erlang Ecosystem Foundation |
| https://github.com/ash-project/ash | from 0ddff26e6e6bc6d182e1af2f98b431575e5b4179 before e52dad2c39a35f6f043f7324d26e4f4e2551dfd2 | Erlang Ecosystem Foundation |
All scores
| EEF | 5.9medium CVSS:4.0 | 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 |
| Erlang Ecosystem Foundation | Not scored CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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. Loading 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. This issue affects ash: from 3.13.2 before 3.32.2.
Erlang Ecosystem Foundation
Summary
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.
Loading 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.
This issue affects ash: from 3.13.2 before 3.32.2.
References
| https://github.com/ash-project/ash/security/advisories/GHSA-j8fx-ff37-4j9c | advisory, exploit, related, vendor-advisory | |
| https://cna.erlef.org/cves/CVE-2026-82749.html | related, web | |
| https://osv.dev/vulnerability/EEF-CVE-2026-82749 | related | |
| https://github.com/ash-project/ash/commit/0ddff26e6e6bc6d182e1af2f98b431575e5b4179 | related, web | |
| https://github.com/ash-project/ash/commit/e52dad2c39a35f6f043f7324d26e4f4e2551dfd2 | fix, patch | |
| https://hex.pm/packages/ash | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-82749 changed 2026-11-19 | CVE Terms of Use |
| Erlang Ecosystem Foundation | EEF-CVE-2026-82749 changed 2026-11-25 | CC-BY-4.0 |
| NVD | CVE-2026-82749 changed 2026-11-19 | Public domain |