All vulnerabilities

Hex

CVE-2026-135701

A runtime policy check in Ash decides on attributes it was not given, after a narrowed select or on an update or destroy

Severity
High 7.4
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
3.39.0
Weakness
Incorrect authorization (CWE-863)
Attack
Needs local access · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
ashHex · osv:Hex:ash
  • From 3.4.44 before 3.39.0

About ash

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135701