StraitOfVuln
Latest / CVE-2026-120299

CVE-2026-120299

LowCVSS 2.1 (v4.0)Awaiting Analysis
CVE.org ↗NVD ↗

Description

Improper Input Validation vulnerability in ash-project ash allows an attacker to bypass the input validation of the field types of a :keyword attribute or argument. Ash.Type.Keyword.cast_input/2 in lib/ash/type/keyword.ex converts a map input to a keyword list in try_map_to_keyword/2, which casts each declared field with Ash.Type.cast_stored/3. That function is meant for trusted values read back from the data layer, so client input skips the cast_input/2 of each field type. apply_constraints/2 casts the result again with cast_input/2, but most types accept a value of their own type unchanged. An embedded resource field is built without its create action, so its validations and changes do not run and its non-public attributes can be set. A :function field accepts a capture string such as &Mod.fun/1, and a :term field decodes Erlang external term format. This issue affects ash: from 3.24.0 before 3.38.1.

Details

CVE ID
CVE-2026-120299
Published / updated
24 Nov 2026, 14:18 UTC · last modified 01 Dec 2026, 20:17 UTC
Severity
LOW
CVSS score
2.1 · v4.0 · CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/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 · Attack vector: Local
Affected vendor
ash-project
Affected products
ash
Affected versions
ash: 3.24.0 to before 3.38.1
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
ash 3.38.1
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.25% probability of exploitation in the next 30 days · 18% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
6b3ad84c-e1a6-4bf7-a703-f496b71e49db