CVE-2026-77956: Improper Control of Generation of Code (Code Injection) vulnerability in ash-project ash_ai allows a remote, unauthentic
Summary
A code injection vulnerability in ash_ai allows unauthenticated attackers to execute arbitrary Elixir code (a programming language) on a server. The vulnerability occurs because the system uses EEx.eval_string/2 (a template evaluator that treats input as code) to process user-supplied prompt text, meaning an attacker can embed malicious commands that get executed before any AI model even processes the request.
Solution / Mitigation
The fix stops evaluating function-supplied prompt content as EEx; only statically configured templates are evaluated. This issue affects ash_ai versions from 0.1.0 before 1.0.0, meaning users should upgrade to version 1.0.0 or later.
Vulnerability Details
EPSS: 0.0%
August 30, 2026
Classification
Affected Vendors
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-77956
First tracked: August 31, 2026 at 02:08 AM
Classified by LLM (prompt v3) · confidence: 95%