← Back to browse · API

CVE-2024-3271

Severity
CRITICAL
CVSS
9.8
EPSS
0.02862
Risk score
40.2
CISA KEV
No
PoC
No
Published
2024-04-16
Modified
2024-08-01
First seen
2026-08-08
Aliases
EUVD-2024-1292, GHSA-R6GP-RFF2-P3HF, PYSEC-2026-396
Products
run-llama:run-llama/llama_index, run-llama:run-llama/llama_index unspecified <10.26
Sources
euvd EUVD-2024-1292

Description

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.

References