SQL Injection in run-llama/llama_index
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| run-llama | run-llama/llama_index | before 0.12.28 | 0.12.28 | Patch available | CNA |
| — | llama-index (PyPI) | before 0.12.28 | 0.12.28 | Patch available | GHSA-v3c8-3pr6-gr7p |
- run-llama/llama_index Vendorrun-llama Affected before 0.12.28 Fixed in 0.12.28 Patch available CNA
- llama-index (PyPI) Vendor— Affected before 0.12.28 Fixed in 0.12.28 Patch available GHSA-v3c8-3pr6-gr7p
Remediation
- Fix · CNA run-llama/llama_index (run-llama) Fixed in 0.12.28
- Fix · GHSA-v3c8-3pr6-gr7p llama-index (PyPI) Fixed in 0.12.28 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Ansible Automation Platform 2
Timeline
- 2026-10-02 Threatist record created from CVE-2025-1793
- 2026-10-03 Alias added: GHSA-v3c8-3pr6-gr7p
- 2026-10-06 EPSS moved to the 50th–90th percentile
References
Advisory 2
More run-llama Llamaindex vulnerabilities
- TI-2025-01507 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
- TI-2024-11960 SQL Injection to RCE in run-llama/llama_index CVSS 3.1CRITICAL 9.8
- TI-2024-11094 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
- TI-2024-03068 Command Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
- TI-2024-15754 LlamaIndex (aka llama_index) through 0.9.34 allows SQL injection via the Text-to-SQL… CVSS 3.1CRITICAL 9.8
- TI-2024-38426 LlamaIndex <= 0.12.2 VannaQueryEngine SQL Execution Allows Resource Exhaustion CVSS 4.0HIGH 8.7
Sources
- CVE-2025-1793 · CVE Program
- CVE-2025-1793 · NVD
- FIRST EPSS
- GHSA-v3c8-3pr6-gr7p · GitHub Advisory Database · CC BY 4.0
- CVE-2025-1793 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences