CVE-2026-126333

7.4High

Published Dec 3, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.4CVSS

High

0CVSS v4.010

Attack vector
Local
Complexity
Low
Privileges
None
User action
None
Impact
High impact on confidentiality, integrity
Weakness
CWE-863

What an attacker gets

Local attackers can read, update, or destroy unauthorized records. This occurs when policies using forbid_if or authorize_unless are incorrectly evaluated.

Root cause

The Ash.Policy.Authorizer incorrectly evaluates policy checks by ignoring the required boolean value for forbid_if and authorize_unless conditions.

Affected versions

ash 3.4.44 through 3.38.x

CVSS v4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Upgrade to ash version 3.39.0 or later. Review all policies using forbid_if or authorize_unless for potential bypasses.

remediation — bash
$ mix deps.update ash

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-126333

More fully triaged vulnerabilities you may want to check next.