llama-index vulnerable to arbitrary code execution
CVE-2023-39662 · GHSA-2xxc-73fv-36f7 · published 2023-08-15 · updated 2024-09-30
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- 1.5%
- Fixed in
- 0.9.14
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Total
- CISA SSVC
An issue in llama_index v.0.7.13 and before allows a remote attacker to execute arbitrary code via the exec parameter in PandasQueryEngine function.
Upgrade llama-index to 0.9.14 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| llama-index | PyPI | < 0.9.14 | 0.9.14 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- Criticalllama_index vulnerable to SQL Injectionllama-index
- CriticalSQL injection in llama-indexllama-index
- Highllama-index has Insecure Temporary Filellama-index
- HighLlamaIndex Vulnerable to Denial of Service (DoS)llama-index
- HighLlamaIndex vulnerable to Creation of Temporary File in Directory with Insecure Permissionsllama-index
- HighRunGptLLM class in LlamaIndex has a command injectionllama-index
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.