Loading advisory.
Loading advisory.
LLama-Index CLI OS command injection vulnerability
LLama-Index CLI prior to v0.4.1, corresponding to LLama-Index prior to v0.12.21, contains an OS command injection vulnerability. The vulnerability arises from the improper handling of the --files argument, which is directly passed into os.system.
Published 2025-05-28 09:34 UTC · Modified 2026-07-13 07:26 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-cli | PyPI | < 0.4.1 versions 0.1.0, 0.1.1, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.2, 0.1.2.post1, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.3.0, 0.3.1, 0.4.0 | 0.4.1 | pip install --upgrade 'llama-index-cli>=0.4.1' |
| llama-index | PyPI | <= 0.12.20 versions 0.10.0, 0.10.1, 0.10.10, 0.10.11, 0.10.12, 0.10.13, 0.10.13.post1, 0.10.14, 0.10.15, 0.10.16, 0.10.17, 0.10.18, 0.10.19, 0.10.20, 0.10.22, 0.10.23, 0.10.24, 0.10.25, 0.10.26, 0.10.27 and 422 more | No patch yet | No command until a fix exists. |
LLama-Index CLI prior to v0.4.1, corresponding to LLama-Index prior to v0.12.21, contains an OS command injection vulnerability. The vulnerability arises from the improper handling of the --files argument, which is directly passed into os.system. An attacker who controls the content of this argument can inject and execute arbitrary shell commands. This vulnerability can be exploited locally if the attacker has control over the CLI arguments, and remotely if a web application calls the LLama-Index CLI with a user-controlled filename. This issue can lead to arbitrary code execution on the affected system.
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.011 on 2026-11-24 to 0.020 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.011 | first score | v2026.06.15 |
| 2026-11-26 | 0.020 | 0.011 | v2026.06.15 |