Loading advisory.
Loading advisory.
llama-index-core Command Injection vulnerability
A command injection vulnerability exists in the run-llama/llama_index repository, specifically within the safe_eval function. Attackers can bypass the intended security mechanism, which checks for the presence of underscores in code generated by LLM, to execute arbitrary code.
Published 2024-04-16 00:00 UTC · Modified 2026-11-16 15:30 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| llama-index-core | PyPI | < 0.10.24 versions 0.10.0, 0.10.1, 0.10.10, 0.10.11, 0.10.11.post1, 0.10.12, 0.10.13, 0.10.14, 0.10.14.post1, 0.10.15, 0.10.16, 0.10.16.post1, 0.10.17, 0.10.18, 0.10.18.post1, 0.10.19, 0.10.2, 0.10.20, 0.10.20.post1, 0.10.20.post2 and 46 more | 0.10.24 | pip install --upgrade 'llama-index-core>=0.10.24' |
A command injection vulnerability exists in the run-llama/llama_index repository, specifically within the safe_eval function. Attackers can bypass the intended security mechanism, which checks for the presence of underscores in code generated by LLM, to execute arbitrary code. This is achieved by crafting input that does not contain an underscore but still results in the execution of OS commands. The vulnerability allows for remote code execution (RCE) on the server hosting the application.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.029 on 2026-11-24 to 0.039 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.029 | first score | v2026.06.15 |
| 2026-11-26 | 0.039 | 0.029 | v2026.06.15 |