CVE-2025-1793: run-llama/llama_index · Improper Neutralization of Special Elements used in an SQL Command
Affects run-llama/llama_indexSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIllama-indexpkg:pypi/llama-indexOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-1793, European organizations should take immediate and specific actions beyond generic patching advice: 1) Inventory all applications and services to identify any usage of run-llama/llama_index version v0.12.21 or earlier. 3) Implement strict input validation and parameterized queries around any database interactions involving vector store integrations to prevent injection. 4) Employ Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection patterns targeting the vulnerable endpoints. 5) Conduct thorough code reviews and penetration testing focused on injection vectors in applications using the library. 6) Monitor logs and network traffic for unusual database queries or access patterns indicative of exploitation attempts. 7) Apply the principle of least privilege to database accounts used by applications, limiting the scope of potential damage. 8) Educate developers and security teams about secure coding practices related to SQL injection and the specific risks of third-party libraries. These targeted steps will help reduce the attack surface and prepare organizations to respond effectively once patches are released.
Description
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.