{"id":"CVE-2026-82749","summary":"Ash relationship parent(...) filter degrades to an IS NULL match when the parent field is unresolved, leaking scoped records","details":"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.","aliases":["EEF-CVE-2026-82749","GHSA-j8fx-ff37-4j9c"],"modified":"2026-09-04T03:47:33.618464303Z","published":"2026-09-01T03:54:12.716Z","database_specific":{"cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82749.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0ddff26e6e6bc6d182e1af2f98b431575e5b4179"},{"fixed":"e52dad2c39a35f6f043f7324d26e4f4e2551dfd2"}]}],"cna_assigner":"EEF"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-82749.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82749"},{"type":"WEB","url":"https://repo.hex.pm"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82749.json"},{"type":"ADVISORY","url":"https://github.com/ash-project/ash/security/advisories/GHSA-j8fx-ff37-4j9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82749"},{"type":"FIX","url":"https://github.com/ash-project/ash/commit/e52dad2c39a35f6f043f7324d26e4f4e2551dfd2"},{"type":"PACKAGE","url":"https://github.com/ash-project/ash"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash","events":[{"introduced":"429b22f7fc1c584efdb2e3ef9d3b3505bd82d8f9"},{"fixed":"c4505a40d1f28ddb6a82fa7c12955d511f01d479"},{"fixed":"e52dad2c39a35f6f043f7324d26e4f4e2551dfd2"}],"database_specific":{"extracted_events":[{"introduced":"3.13.2"},{"fixed":"3.32.2"}],"source":["DESCRIPTION","REFERENCES"]}}],"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://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/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"}]}