CVE-2025-1793: llama_index vulnerable to SQL Injection
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
- https://nvd.nist.gov/vuln/detail/CVE-2025-1793
- https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e
- https://huntr.com/bounties/8cb1555a-9655-4122-b0d6-60059e79183c
- https://github.com/advisories/GHSA-v3c8-3pr6-gr7p
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2026-394.yaml
- https://github.com/run-llama/llama_index
- https://pypi.org/project/llama-index
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 entriesCVE-2025-6208
llama-index-core vulnerable to Uncontrolled Resource Consumption
medium5.3Feb 2, 2026CVE-2025-7707
llama-index has Insecure Temporary File
high7.1Oct 13, 2025CVE-2025-7647
llama-index-core insecurely handles temporary files
high7.3Sep 27, 2025CVE-2025-5302
LlamaIndex affected by a Denial of Service (DOS) in JSONReader
high8.6Aug 26, 2025CVE-2025-6211
LlamaIndex vulnerable to data loss through hash collisions in its DocugamiReader class
medium6.5Jul 10, 2025CVE-2025-3108
LlamaIndex has Incomplete Documentation of Program Execution related to JsonPickleSerializer component
medium5.0Jul 7, 2025
