Command Injection in run-llama/llama_index
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in 10.26 and 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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| run-llama | <10.26 | 10.26 | |
| pypi: llama-index-core | <0.10.24 | 0.10.24 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in llama-index-core (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket