Ash policy check flaws let forbidden records be read and changed
CVE-2026-126333 and 2 more
Apps built with Ash, an Elixir framework, can leak and change data their rules forbid.
- CVE
- CVE-2026-126333 and 2 more
- Score
- CVSS 7.4 · CVE-2026-126333
- First seen
Mitigation
Update ash to 3.39.0 or later. Until then, for CVE-2026-126333 write the check for the opposite condition and use it with authorize_if or forbid_unless; for CVE-2026-135701 write the check as an expr(...) filter check; for CVE-2026-137159, on 3.5.0 or later, pass strategy: :stream. These workarounds cover only some of the flaws; the update is the only fix for the rest.
Summary
Flaws in the permission checks of Ash, an Elixir framework, let an attacker read, update, or destroy records a policy forbids, especially under forbid_if and authorize_unless, in versions before 3.39.0. The same update also fixes flaws in runtime checks and in bulk updates and deletes that skip related-record permissions.
Affected when
- CVE-2026-126333 forbid_if or authorize_unless policy relies on a check decided record by record
- CVE-2026-135701 a runtime policy check reads record attributes
- CVE-2026-135701 the caller can narrow the read select, or the update or destroy check runs on a data layer that honors select
- CVE-2026-137159 the caller controls the filter of an Ash.bulk_update/4 or Ash.bulk_destroy/4 query
- CVE-2026-137159 the :atomic strategy is used (the default for a query)
3 other Incidents of this product in the last 30 days
Incidents by product: ash
Other recent Incidents of ash
3 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 3 CVEs (every link below opens in a new tab)
- CVE-2026-126333Lets forbid_if or authorize_unless policies be bypassed, so forbidden records can be read, changed, or deleted. CVSS 7.4 CVE-2026-126333 advisory
- CVE-2026-135701A permission check judges unloaded fields by placeholder or default values, letting forbidden records be read or changed. CVSS 7.4 CVE-2026-135701 advisory
- CVE-2026-137159A caller without read rights on related data can learn it from which rows a bulk change touches. CVSS 5.9 CVE-2026-137159 advisory