{"id":"EEF-CVE-2026-82749","summary":"Ash relationship parent(...) filter degrades to an IS NULL match when the parent field is unresolved, leaking scoped records","details":"## Summary\n\nIncorrect 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.","aliases":["CVE-2026-82749","GHSA-j8fx-ff37-4j9c"],"modified":"2026-09-08T03:45:10.531264955Z","published":"2026-09-01T03:54:12.716Z","database_specific":{"cwe_ids":["CWE-863"],"capec_ids":["CAPEC-1"],"cpe_ids":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash/security/advisories/GHSA-j8fx-ff37-4j9c"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-82749.html"},{"type":"FIX","url":"https://github.com/ash-project/ash/commit/e52dad2c39a35f6f043f7324d26e4f4e2551dfd2"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash"}],"affected":[{"package":{"name":"ash","ecosystem":"Hex","purl":"pkg:hex/ash"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.13.2"},{"fixed":"3.32.2"}]}],"versions":["3.13.2","3.14.0","3.14.1","3.15.0","3.16.0","3.17.0","3.17.1","3.18.0","3.19.0","3.19.1","3.19.2","3.19.3","3.20.0","3.21.0","3.21.1","3.21.2","3.21.3","3.22.0","3.22.1","3.22.2","3.23.0","3.23.1","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"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-82749.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash","events":[{"introduced":"0ddff26e6e6bc6d182e1af2f98b431575e5b4179"},{"fixed":"e52dad2c39a35f6f043f7324d26e4f4e2551dfd2"}]}],"versions":["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","v3.23.1","v3.23.0","v3.22.2","v3.22.1","v3.22.0","v3.21.3","v3.21.2","v3.21.1","v3.21.0","v3.20.0","v3.19.3","v3.19.2","v3.19.1","v3.19.0","v3.18.0","v3.17.1","v3.17.0","v3.16.0","v3.15.0","v3.14.1","v3.14.0","v3.13.2"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-82749.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}],"credits":[{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"},{"name":"Zach Daniel / Ash Project","type":"REMEDIATION_DEVELOPER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Peter Ullrich","type":"FINDER"}]}