{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Actions.Update.Bulk'","'Elixir.Ash.Actions.Destroy.Bulk'"],"packageName":"ash","packageURL":"pkg:hex/ash","product":"ash","programFiles":["lib/ash/actions/update/bulk.ex","lib/ash/actions/destroy/bulk.ex"],"programRoutines":[{"name":"'Elixir.Ash.Actions.Update.Bulk':do_atomic_update/5"},{"name":"'Elixir.Ash.Actions.Destroy.Bulk':do_atomic_destroy/5"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"lessThan":"3.39.0","status":"affected","version":"2.17.20","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Actions.Update.Bulk'","'Elixir.Ash.Actions.Destroy.Bulk'"],"packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","product":"ash","programFiles":["lib/ash/actions/update/bulk.ex","lib/ash/actions/destroy/bulk.ex"],"programRoutines":[{"name":"'Elixir.Ash.Actions.Update.Bulk':do_atomic_update/5"},{"name":"'Elixir.Ash.Actions.Destroy.Bulk':do_atomic_destroy/5"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"lessThan":"83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1","status":"affected","version":"fe2156a9ac9e49cae44132552ce6e52aee14104c","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Reachable when a caller controls the filter of a query given to <code>Ash.bulk_update/4</code> or <code>Ash.bulk_destroy/4</code>, or to a code interface, through <code>Ash.Query.filter_input/2</code> or a filter on an aggregate, and the call allows the <code>:atomic</code> strategy, which is the default for a query.</p>"},{"base64":false,"type":"text/markdown","value":"Reachable when a caller controls the filter of a query given to `Ash.bulk_update/4` or `Ash.bulk_destroy/4`, or to a code interface, through `Ash.Query.filter_input/2` or a filter on an aggregate, and the call allows the `:atomic` strategy, which is the default for a query."}],"value":"Reachable when a caller controls the filter of a query given to Ash.bulk_update/4 or Ash.bulk_destroy/4, or to a code interface, through Ash.Query.filter_input/2 or a filter on an aggregate, and the call allows the :atomic strategy, which is the default for a query."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","versionEndExcluding":"3.39.0","versionStartIncluding":"2.17.20","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Glenn Rempe"},{"lang":"en","type":"reporter","value":"Glenn Rempe"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"}],"dateAssigned":"2026-12-03T01:30:08.000Z","datePublic":"2026-12-03T05:57:42.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>\n<p><code>Ash.Actions.Update.Bulk</code> (<code>lib/ash/actions/update/bulk.ex</code>) and <code>Ash.Actions.Destroy.Bulk</code> (<code>lib/ash/actions/destroy/bulk.ex</code>) 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 <code>Ash.Query.filter_input/2</code> 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.</p>\n<p>This issue affects ash: from 2.17.20 before 3.39.0.</p>"},{"base64":false,"type":"text/markdown","value":"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\n`Ash.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."}],"value":"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."}],"impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>A caller who controls the filter of an atomic bulk update or destroy tests conditions against related records hidden from them and recovers their existence and attribute values from which rows change.</p>"},{"base64":false,"type":"text/markdown","value":"A caller who controls the filter of an atomic bulk update or destroy tests conditions against related records hidden from them and recovers their existence and attribute values from which rows change."}],"value":"A caller who controls the filter of an atomic bulk update or destroy tests conditions against related records hidden from them and recovers their existence and attribute values from which rows change."}]}],"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":{"dateUpdated":"2026-12-03T05:57:43.603Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"Atomic bulk update and destroy in Ash skip the read policies of related records in the filter, disclosing them through which rows change","tags":["vendor-advisory","related"],"url":"https://github.com/ash-project/ash/security/advisories/GHSA-hg4m-9gg5-r5hj"},{"name":"EEF CNA record for CVE-2026-137159","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-137159.html"},{"name":"OSV record EEF-CVE-2026-137159","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-137159"},{"name":"Introducing commit fe2156a in ash-project/ash","tags":["related"],"url":"https://github.com/ash-project/ash/commit/fe2156a9ac9e49cae44132552ce6e52aee14104c"},{"name":"Fix commit 83ba111 in ash-project/ash","tags":["patch"],"url":"https://github.com/ash-project/ash/commit/83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1"}],"source":{"discovery":"EXTERNAL"},"title":"Atomic bulk update and destroy in Ash skip the read policies of related records in the filter, disclosing them through which rows change","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>On 3.5.0 and later, pass <code>strategy: :stream</code>, which reads the records with the related read policies applied.</p>"},{"base64":false,"type":"text/markdown","value":"On 3.5.0 and later, pass `strategy: :stream`, which reads the records with the related read policies applied."}],"value":"On 3.5.0 and later, pass strategy: :stream, which reads the records with the related read policies applied."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-137159","datePublished":"2026-12-03T05:57:43.603Z","dateReserved":"2026-12-02T11:31:34.637Z","dateUpdated":"2026-12-03T05:57:43.603Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}