Incorrect Authorization vulnerability in ash-project ash allows an actor to read, update and destroy records that a runtime policy check forbids.
A policy check decided against the records (check/4) reads their attributes, but Ash did not always give it them. On a read that selected fewer attributes, Ash.Policy.Authorizer (lib/ash/policy/authorizer/authorizer.ex) passed the records with the other attributes as %Ash.NotLoaded{}, which is truthy. On an update or destroy, Ash.Can (lib/ash/can.ex) read the record again with an empty select, so on a data layer that honors select the check saw only the primary key and attribute defaults. A check that reads such an attribute decided on the placeholder or the default.
This issue affects ash: from 3.4.44 before 3.39.0.
A policy check decided against the records (check/4) reads their attributes, but Ash did not always give it them. On a read that selected fewer attributes, Ash.Policy.Authorizer (lib/ash/policy/authorizer/authorizer.ex) passed the records with the other attributes as %Ash.NotLoaded{}, which is truthy. On an update or destroy, Ash.Can (lib/ash/can.ex) read the record again with an empty select, so on a data layer that honors select the check saw only the primary key and attribute defaults. A check that reads such an attribute decided on the placeholder or the default.
This issue affects ash: from 3.4.44 before 3.39.0.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
Write the check as an expr(...) filter check, which reads the rows again itself and is not affected.
References
History
Thu, 03 Dec 2026 06:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Incorrect Authorization vulnerability in ash-project ash allows an actor to read, update and destroy records that a runtime policy check forbids. A policy check decided against the records (check/4) reads their attributes, but Ash did not always give it them. On a read that selected fewer attributes, Ash.Policy.Authorizer (lib/ash/policy/authorizer/authorizer.ex) passed the records with the other attributes as %Ash.NotLoaded{}, which is truthy. On an update or destroy, Ash.Can (lib/ash/can.ex) read the record again with an empty select, so on a data layer that honors select the check saw only the primary key and attribute defaults. A check that reads such an attribute decided on the placeholder or the default. This issue affects ash: from 3.4.44 before 3.39.0. | |
| Title | A runtime policy check in Ash decides on attributes it was not given, after a narrowed select or on an update or destroy | |
| First Time appeared |
Ash-project
Ash-project ash |
|
| Weaknesses | CWE-863 | |
| CPEs | cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Ash-project
Ash-project ash |
|
| References |
|
|
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: EEF
Published:
Updated: 2026-12-03T05:57:08.579Z
Reserved: 2026-12-03T01:30:09.997Z
Link: CVE-2026-135701
No data.
Status : Received
Published: 2026-12-03T06:17:57.820
Modified: 2026-12-03T06:17:57.820
Link: CVE-2026-135701
No data.
OpenCVE Enrichment
Updated: 2026-12-03T16:15:02Z
Weaknesses