cve.bz

CVE-2026-126333 forbid_if and authorize_unless in Ash allow exactly the records a runtime check should forbid

7.4 highEPSS 0.2%Fix available

High (7.4) in ash-project ash. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in ash 3.39.0.

On this page
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.

Severity

CVSS 4.0

7.4 high
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
EPSS
0.2% estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Assigned by
EEF (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • ash (Hex): fixed in 3.39.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-126333 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-126333?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-126333?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-126333 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ash-project ashfrom 3.4.44 before 3.39.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
EEF-CVE-2026-126333Hexash>=3.4.44 <3.39.03.39.0
EEF-CVE-2026-126333v3.38.1, v3.38.0, v3.37.7, v3.37.6, v3.37.5 and 170 moreno fix published

References

Check your stackJSON