llama_index vulnerable to SQL Injection
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | llama-index | < 0.12.28 | 0.12.28 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-1793
- https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e
- https://github.com/run-llama/llama_index
- https://huntr.com/bounties/8cb1555a-9655-4122-b0d6-60059e79183c
- https://pypi.org/project/llama-index
- https://github.com/advisories/GHSA-v3c8-3pr6-gr7p
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2026-394.yaml
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-89- Platform
- Python (PyPI)
- Package
llama-index- Disclosed
- 05.06.2025
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-394 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-v3c8-3pr6-gr7p - CC BY 4.0
Vulnerability history: llama-index
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 22
- First → latest
- 08.2023 01.2026
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 11
- Medium 6
Disclosures per year
- 2023: 1
- 2024: 3
- 2025: 16
- 2026: 2
-
llama_index vulnerable to SQL Injection this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.