LlamaIndex vulnerable to Creation of Temporary File in Directory with Insecure Permissions
CVE-2024-12911 · GHSA-jmgm-gx32-vp4w · published 2025-03-20 · updated 2025-10-15
- Severity
- High
- CVSS score
- 7.1
- Chance of exploitation (EPSS)
- 0.52%
- Fixed in
- 0.12.3
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
A vulnerability in the defaultjsonalyzer function of the JSONalyzeQueryEngine in the run-llama/llamaindex repository allows for SQL injection via prompt injection. This can lead to arbitrary file creation and Denial-of-Service (DoS) attacks. The vulnerability affects the latest version and is fixed in version 0.12.3.
Upgrade llama-index to 0.12.3 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.12.3 | 0.12.3 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
- Criticalllama_index vulnerable to SQL Injectionllama-index
- CriticalSQL injection in llama-indexllama-index
- Criticalllama-index vulnerable to arbitrary code executionllama-index
- Highllama-index has Insecure Temporary Filellama-index
- HighLlamaIndex Vulnerable to Denial of Service (DoS)llama-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.