CVE-2026-126333
HIGH 7.4CVSS 4.0forbid_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.
- Published
- 3 Dec 2026
- Last modified
- 4 Dec 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Received
- Weakness
- CWE-863
- Also known as
- EEF-CVE-2026-126333GHSA-82c8-2w33-xggc
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-126333JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | HIGH 7.4 | 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 |
| CVE List | EEF | CVSS 4.0 | HIGH 7.4 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | ashcpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:* |
>= 3.4.44, < 3.39.0 | 3.39.0 |
| CVE List | https://github.com | ash-project/ashcpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:* |
>= f4a8ff53fd3b974468d73685cd3fc842ef893de3, < dd175966a12551997b4c091f59a00312b2b0562b | dd175966a12551997b4c091f59a00312b2b0562b |
| OSV | Hex | ash | >= 3.4.44, < 3.39.0 | 3.39.0 |
References
- https://cna.erlef.org/cves/CVE-2026-126333.html · related, WEB
- https://github.com/ash-project/ash/commit/dd175966a12551997b4c091f59a00312b2b0562b · patch, FIX
- https://github.com/ash-project/ash/commit/f4a8ff53fd3b974468d73685cd3fc842ef893de3 · related, WEB
- https://github.com/ash-project/ash/security/advisories/GHSA-82c8-2w33-xggc · vendor-advisory, related, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-126333 · related
- https://hex.pm/packages/ash · PACKAGE
History
- 4 Dec 2026 19:09 UTC · NVD: updated (other details)
- 4 Dec 2026 17:09 UTC · CVE List: updated (other details)
- 3 Dec 2026 06:37 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 06:07 UTC · OSV: first stored (published 3 Dec 2026)
- 3 Dec 2026 06:07 UTC · CVE List: first stored (published 3 Dec 2026)