Impact
The vulnerability is a code injection flaw arising from the use of EEx.eval_string/2 to render prompt content supplied by the caller. Prompt actions are defined as functions that accept input and context, allowing the caller to embed arbitrary expressions inside the prompt. Because the library compiles any prompt text containing EEx delimiters, a remote client can send a prompt that includes Elixir calls such as System.cmd, which are executed server‑side before the model request is sent, granting unauthenticated remote code execution. This flaw matches CWE‑94: Improper Control of Generation of Code.
Affected Systems
The affected product is Ash Ai, a library by the Ash Project. Versions from 0.1.0 up to but not including 1.0.0 are affected. No specific sub‑versions are listed, so all releases in that range are vulnerable. System administrators should verify which version of Ash Ai is in use and ensure only versions 1.0.0 or later run in production.
Risk and Exploitability
The CVSS base score of 10 indicates a full‑blown critical vulnerability. The EPSS score is not available, but the lack of exploit data does not reduce the likelihood, given the client‑side exploitation path requires only an HTTP request containing crafted prompt text. The vulnerability is not listed in the CISA KEV catalog, but the impact and severity recommend rapid remediation. The attack vector is remote, unauthenticated, and requires no special privileges; an attacker can trigger the flaw by simply sending a prompt action request to an exposed Ash Ai instance.
OpenCVE Enrichment