CVE-2026-126333
forbid_if and authorize_unless in Ash allow exactly the records a runtime check should forbid
설명(영어 원문)
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.
기본 정보
- 공개일
- 2026-12-03
- 최근 수정
- 2026-12-03
- 심각도
- 높음 7.4CNA 평가 · CVSS 4.0
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 - 약점 분류(CWE)
- CWE-863
영향 받는 제품
- ash-project ash — 3.4.44 – < 3.39.0
- ash-project ash — f4a8ff53fd3b974468d73685cd3fc842ef893de3 – < dd175966a12551997b4c091f59a00312b2b0562b