CVE-2026-126333
Published:December 03, 2026
Updated:December 03, 2026
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.
Affected Packages
https://github.com/ash-project/ash.git (GITHUB):
Affected version(s) >=v3.4.44 <v3.39.0Fix Suggestion:
Update to version v3.39.0ash (HEX):
Affected version(s) >=3.4.44 <3.39.0Fix Suggestion:
Update to version 3.39.0Related Resources (11)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.4
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.7
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Incorrect Authorization