PT-2026-157796

CVE-2026-120299

·

تاريخ النشر

2026-11-24

·

تاريخ التحديث

2026-11-24

الوصف من

CVSS 4.0
2.1
منخفضة
المقاييسAV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Summary

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.

Impact

A client that can set a :keyword attribute or argument stores field values that the field type's input casting would reject, such as an embedded resource that skipped its create action and validations.

Configurations

Reachable when a :keyword attribute or argument that accepts client input declares fields, the client sends it as a map (or a JSON string), and one of the field types casts stored values more loosely than input, such as an embedded resource, :function or :term.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
تصنيف نقاط الضعف
المعرّفات ذات الصلة
GHSA-RWMX-99MC-QR2X
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾