{"id":"CVE-2026-137159","summary":"Atomic bulk update and destroy in Ash skip the read policies of related records in the filter, disclosing them through which rows change","details":"Incorrect Authorization vulnerability in ash-project ash allows an actor to learn about related records they cannot read from which rows an atomic bulk update or destroy changes.\n\nAsh.Actions.Update.Bulk (lib/ash/actions/update/bulk.ex) and Ash.Actions.Destroy.Bulk (lib/ash/actions/destroy/bulk.ex) authorized the query of an atomic bulk update or destroy with the resource's own read policy, but did not add the read policies of the related records its filter references. A read of the same query adds them, for relationship references from Ash.Query.filter_input/2 and for aggregates. A caller who controls the filter could therefore match rows on related data they cannot read, one condition at a time. The rows changed are rows the caller may change anyway.\n\nThis issue affects ash: from 2.17.20 before 3.39.0.","aliases":["EEF-CVE-2026-137159","GHSA-hg4m-9gg5-r5hj"],"modified":"2026-12-03T08:00:08.591686674Z","published":"2026-12-03T05:57:43.603Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137159.json","unresolved_ranges":[{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"2.17.20"},{"fixed":"3.39.0"}],"source":"AFFECTED_FIELD"}]}],"cna_assigner":"EEF","cwe_ids":["CWE-863"]},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-137159.html"},{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137159.json"},{"type":"PACKAGE","url":"https://github.com/ash-project/ash"},{"type":"FIX","url":"https://github.com/ash-project/ash/commit/83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1"},{"type":"FIX","url":"https://github.com/ash-project/ash/commit/fe2156a9ac9e49cae44132552ce6e52aee14104c"},{"type":"ADVISORY","url":"https://github.com/ash-project/ash/security/advisories/GHSA-hg4m-9gg5-r5hj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137159"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-137159"},{"type":"WEB","url":"https://repo.hex.pm"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash","events":[{"introduced":"fe2156a9ac9e49cae44132552ce6e52aee14104c"},{"fixed":"83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1"},{"fixed":"fe2156a9ac9e49cae44132552ce6e52aee14104c"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"fe2156a9ac9e49cae44132552ce6e52aee14104c"},{"fixed":"83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"fe2156a9ac9e49cae44132552ce6e52aee14104c"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137159.json"}}],"schema_version":"1.9.2","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"}]}