cve.bz

CVE-2024-3271

9.8 criticalEPSS 2.9%

Critical (9.8) in llamaindex llamaindex. EPSS 2.9% chance of exploitation in the next 30 days. Fixed in 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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.9% chance of exploitation in the next 30 days; higher than 86% of CVEs (scores of 2026-10-31)
CWE
CWE-77
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r6gp-rff2-p3hfPyPIllama-index-core<0.10.240.10.24
PYSEC-2026-396PyPIllama-index-core<0.10.240.10.24

References

Check your stackJSON