CVE-2024-3271
published critical CVSS 3.0 · 9.8Command Injection in run-llama/llama_index
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| run-llama | run-llama/llama_index | unspecified to < 10.26 (affected · custom) | @huntr_ai · cna |
| run-llama | llama_index | All versions (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-77 CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
2Provider assertions
3@huntr_ai · cna
Command Injection in run-llama/llama_index
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9eb36916a01efa88bcc2753d852b401103495a37b3f65b41d35e44476c4b6bd0
- Ingested
- 23 Sep 2026, 08:25:33 UTC
- Source record
- Official CVE record