Security mailing lists by PureSourceCode

CVE-2026-120299

LOW 2.1CVSS 4.0

Ash.Type.Keyword casts client input as trusted stored data, bypassing the input validation of its field types

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.

Published
24 Nov 2026
Last modified
1 Dec 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Awaiting Analysis
Weakness
CWE-20
Also known as
EEF-CVE-2026-120299GHSA-rwmx-99mc-qr2x
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-120299JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 LOW 2.1 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
CVE List EEF CVSS 4.0 LOW 2.1 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
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm ash
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*
>= 3.24.0, < 3.38.1 3.38.1
CVE List https://github.com ash-project/ash
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*
>= 71b709232454cff3ca23286c2a6b39a486bc8640, < 97a0a6061bebc2d4f7ebb40928f94a0ac734e498 97a0a6061bebc2d4f7ebb40928f94a0ac734e498
OSV Hex ash >= 3.24.0, < 3.38.1 3.38.1

References

History

  • 1 Dec 2026 20:28 UTC · CVE List: updated (other details)
  • 1 Dec 2026 20:28 UTC · NVD: updated (other details)
  • 25 Nov 2026 20:36 UTC · CVE List: first stored (published 24 Nov 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 24 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.