CVE-2026-126333
forbid_if and authorize_unless in Ash allow exactly the records a runtime check should forbid
Description
Incorrect Authorization vulnerability in ash-project ash allows an actor to read, update and destroy records that a policy forbids. When a policy check cannot be decided up front or as a filter, Ash.Policy.Authorizer (lib/ash/policy/authorizer/authorizer.ex) runs its check/4 callback, which returns the records the check is true for. scenario_applies_to_record?/3 and scenario_impossible_by_data?/3 only asked whether a record was among them and ignored the value the policy needed. A policy that needs the check to be false, as forbid_if and authorize_unless do, therefore allowed exactly the records the check is true for and forbade the rest. Reads returned the records they should hide, and from 3.33.0 an update or destroy of a forbidden record succeeded. This issue affects ash: from 3.4.44 before 3.39.0.
INFO
Published Date :
Dec. 3, 2026, 5:56 a.m.
Last Modified :
Dec. 3, 2026, 5:56 a.m.
Remotely Exploit :
No
Source :
EEF
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | HIGH | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db |
Solution
- Update ash-project ash to version 3.4.44 or later.
- Apply policy checks as filters.
- Validate record access controls.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-126333 vulnerability anywhere in the article.