CVE-2025-1793criticalBroken access control2025-06-05
CVE-2025-1793: llama_index vulnerable to SQL Injection
Multiple vector store integrations in run-llama/llama_index version v0.12.21 have SQL injection vulnerabilities.
What it is
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.
How to check
- Affected: llama-index (pip) < 0.12.28.
- Compare your installed version with the range above (command below).
How to fix
- Upgrade llama-index to 0.12.28 or later.
pip show llama-index | grep Version Sources
More advisories for this tool
- criticalCVE-2024-45201: LlamaIndex includes an exec call for `import {cls_name}`
- criticalCVE-2024-3271: llama-index-core Command Injection vulnerability
- highCVE-2026-114510: poisoned documents can inject Cypher into Flexible GraphRAG's FalkorDB adapter and wipe the graph, upgrade to 0.8.2
- mediumAuth0 AI FGA retrievers let documents denied by Auth0 FGA into the RAG context (CVE-2026-108167, CVE-2026-107372)