CVE-2026-120299Ash.Type.Keyword casts client input as trusted stored data, bypassing the input…
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ash-project ash: affected: 3.24.0 to before 3.38.1; fixed in
3.38.1 - ash-project ash: affected: 71b709232454cff3ca23286c2a6b39a486bc8640 to before 97a0a6061bebc2d4f7ebb40928f94a0ac734e498; fixed in
97a0a6061bebc2d4f7ebb40928f94a0ac734e498
Vendor advisories:
- https://github.com/ash-project/ash/security/advisories/GHSA-rwmx-99mc-qr2x (vendor-advisory)
- https://github.com/ash-project/ash/commit/97a0a6061bebc2d4f7ebb40928f94a0ac734e498 (patch)
References
- https://github.com/ash-project/ash/security/advisories/GHSA-rwmx-99mc-qr2x
- https://cna.erlef.org/cves/CVE-2026-120299.html
- https://osv.dev/vulnerability/EEF-CVE-2026-120299
- https://github.com/ash-project/ash/commit/71b709232454cff3ca23286c2a6b39a486bc8640
- https://github.com/ash-project/ash/commit/97a0a6061bebc2d4f7ebb40928f94a0ac734e498
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.