Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · LlamaIndex

CVE-2025-1793: llama_index vulnerable to SQL Injection

criticalCVSS 3.0 9.8GHSA-v3c8-3pr6-gr7p

Multiple vector store integrations in run-llama/llamaindex 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.

Published Jun 5, 2025 · Updated Jul 21, 2026

Affected packages

llama-index

Ecosystem
PyPI
Affected
< 0.12.28
Fixed in
0.12.28
Check
pip show llama-index

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to Malayke.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More LlamaIndex vulnerabilities

All LlamaIndex entries