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.
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.
This issue affects ash: from 2.17.20 before 3.39.0.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub