llama_index vulnerable to SQL Injection
CVE-2025-1793 · GHSA-v3c8-3pr6-gr7p · published 2025-06-05 · updated 2026-07-21
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- 0.72%
- Fixed in
- 0.12.28
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Total
- CISA SSVC
Multiple vector store integrations in run-llama/llama_index version v0.12.21 have SQL injection vulnerabilities. These vulnerabilities allow an attacker to read and write data using SQL, potentially leading to unauthorized access to data of other users depending on the usage of the llama-index library in a web application.
Upgrade llama-index to 0.12.28 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.28 | 0.12.28 |
- 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
- 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
- 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.