Ash-project vulnerabilities

Other · sources: CVE.org/NVD · refreshes every minute

Period
Updating…

In the last 30 days, 3 Ash-project vulnerabilities were published: 0 critical, 0 actively exploited. Most common weakness: unsafe deserialization (CWE-502).

3vulnerabilities in 30 days
0critical
0exploited
Nov 24last published
CVSS score: 8.9 Severity: High Identifier: CVE-2026-124283 Code execution and SQL injection via struct-wrapped values in a forged keyset pagination cursor in Ash Package: ash fixed in 8da3fe514975ac93682f8377c5439baefaf50bad (+1 branch) Published Published

Deserialization of Untrusted Data vulnerability in ash-project ash allows an unauthenticated attacker to execute arbitrary code or inject SQL through a forged keyset pagination cursor.

Ash.Page.Keyset.filter/4 in lib/ash/page/keyset.ex decodes the client-supplied page[:after] or page[:before] cursor from Erlang external term format and rejects decoded expressions with Ash.Expr.expr?/1. That check does not examine the fields of a struct. The cast of each value against the type of its sort field accepts structs for the :ci_string, :map, :struct and :term types. A struct in the cursor value for such a sort field therefore reaches the data layer. With AshPostgres, the read passes such a struct to inspect/1, which runs the Inspect implementation of the struct module that the attacker selected. A chain of struct modules from ecto and db_connection then calls a function that the cursor names, which permits OS command execution. An %Ash.Query.Function.Fragment{} inside an %Ash.CiString{} value is written into the SQL query as raw text.

This issue affects ash: from 3.31.3 before 3.38.0.

Exploitation
No known exploitation
EPSS
1.1% chance of exploitation in the next 30 days, higher than 65.1% of CVEs
CVSS
8.9 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
Versions
91874dd5435bc0ffebd8a254acfa573b39b74520 → <8da3fe514975ac93682f8377c5439baefaf50bad · fixed in 8da3fe514975ac93682f8377c5439baefaf50bad (and 1 older branch)
Weakness
CWE-502, CWE-89
Sources
CVE.org · NVD · EPSS
Dates
published Nov 24, 2026 · first seen here 3 h ago
CVSS score: 5.3 Severity: Medium Identifier: CVE-2026-119613 AshAi sends unrecognized tool errors verbatim to MCP clients and the model, disclosing internal details Package: ash ai fixed in af7987769d78ed070c8a9f6e6ee542d91744eae6 (+1 branch) Published Published

Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_ai allows a caller of an AshAi tool to read internal error details, including module names and data values, by making a tool call fail.

AshAi.ToToolError gained an implementation for Ash.Error.Unknown.UnknownError that returns the error's error field as is, and AshAi.Tool.Errors.format/1 sends that text to MCP clients (tool calls and resource reads in AshAi.Mcp.Server) and to the model in AshAi.ToolLoop. Ash stores the full Exception.format/2 output of a raised exception, or inspect/1 of a bare {:error, term} return, in that field. A tool result that cannot be JSON-encoded raises a Protocol.UndefinedError whose text includes the inspected value, which can be a whole record with fields the tool never returns. None of these errors were logged. The fix logs them under an error id and returns only that id to the caller.

This issue affects ash_ai: from 1.5.0 before 1.5.1.

Exploitation
No known exploitation
EPSS
0.47% chance of exploitation in the next 30 days, higher than 32.4% of CVEs
CVSS
5.3 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/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
Versions
fbad04e9620ef70603f4e67e03f15092f58578f6 → <af7987769d78ed070c8a9f6e6ee542d91744eae6 · fixed in af7987769d78ed070c8a9f6e6ee542d91744eae6 (and 1 older branch)
Weakness
CWE-209
Sources
CVE.org · NVD · EPSS
Dates
published Nov 9, 2026 · first seen here 4 h ago
CVSS score: 2.1 Severity: Low Identifier: CVE-2026-120299 Ash.Type.Keyword casts client input as trusted stored data, bypassing the input validation of its field types Package: ash fixed in 97a0a6061bebc2d4f7ebb40928f94a0ac734e498 (+1 branch) Published Published

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.

Exploitation
No known exploitation
EPSS
0.25% chance of exploitation in the next 30 days, higher than 10.0% of CVEs
CVSS
2.1 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
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
Versions
71b709232454cff3ca23286c2a6b39a486bc8640 → <97a0a6061bebc2d4f7ebb40928f94a0ac734e498 · fixed in 97a0a6061bebc2d4f7ebb40928f94a0ac734e498 (and 1 older branch)
Weakness
CWE-20
Sources
CVE.org · NVD · EPSS
Dates
published Nov 24, 2026 · first seen here 3 h ago