Patch Ticker
EnglishEN
Elevated

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
7.4
Products
Disclosed together ash

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)