Skip to content

CVE-2026-82746 Ash.update_many/4 atomic path skips resource policy authorization, allowing updates to forbidden records

MediumCVSS 5.9 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

Missing Authorization vulnerability in ash-project ash allows an actor to update records forbidden by resource policies through the atomic path of Ash.update_many/4.

Ash.update_many/4 runs as a single atomic statement (a data-layer update_many, for example a SQL MERGE) whenever an atomic strategy is used and the data layer supports it. Ash.Actions.Update.UpdateMany (lib/ash/actions/update/update_many.ex) took that path even under authorize?: true without applying the resource's policies, so the statement updated every row matched by primary key regardless of the policy filter that authorization would impose. An actor could therefore update records the policies forbid, such as rows belonging to another actor or tenant. The fix restricts the atomic path to data layers supporting changeset filters when authorizing, authorizes each changeset, and merges the resulting policy filter into each changeset so the statement only touches authorized rows.

This issue affects ash: from 3.29.0 before 3.32.2.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
ash-project ash >= 3.29.0, < 3.32.2; >= 45e6b4ec7b2dc076afe614aa7aef7e1f15b5e335, < ed4e656822ffe83f8e960d5de0b573c0d1ae7f29 3.32.2, ed4e656822ffe83f8e960d5de0b573c0d1ae7f29 Fixed

Affected products

ProductAffected versionsFixed in
ash-project ash >= 3.29.0, < 3.32.2 3.32.2
ash-project ash >= 45e6b4ec7b2dc076afe614aa7aef7e1f15b5e335, < ed4e656822ffe83f8e960d5de0b573c0d1ae7f29 ed4e656822ffe83f8e960d5de0b573c0d1ae7f29

References