CVE-2025-1793
CRITICAL 9.8CVSS 3.0llama_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.
- Published
- 5 Jun 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-v3c8-3pr6-gr7pPYSEC-2026-394
- Sources
- NVDJSONOSV GHSA-v3c8-3pr6-gr7pJSONOSV PYSEC-2026-394JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | llamaindex | llamaindexcpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* |
>= 0.12.21, < 0.12.28 | 0.12.28 |
| OSV | PyPI | llama-index | < 0.12.28 | 0.12.28 |
References
- https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e · Patch, WEB
- https://huntr.com/bounties/8cb1555a-9655-4122-b0d6-60059e79183c · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-1793 · ADVISORY
- https://github.com/advisories/GHSA-v3c8-3pr6-gr7p · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2026-394.yaml · WEB
- https://github.com/run-llama/llama_index · PACKAGE
- https://pypi.org/project/llama-index · WEB, PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 5 Jun 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Jun 2025)