# CVE-2025-1793: SQL Injection in run-llama/llama_index

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 56% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-05T04:54:47.071Z
- Modified: 2026-09-10T03:50:25.475Z
- Also known as: GHSA-v3c8-3pr6-gr7p, PYSEC-2026-394
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- run-llama run-llama/llama_index: from unspecified before 0.12.28
- llama-index (PyPI): before 0.12.28
- llamaindex llamaindex: from 0.12.21 before 0.12.28

## Every score

- @huntr_ai: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/8cb1555a-9655-4122-b0d6-60059e79183c> (exploit, third-party-advisory, web)
- <https://github.com/run-llama/llama_index/commit/0008041e8dde8e519621388e5d6f558bde6ef42e> (patch, 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> (package, web)

## Sources

- CVE List: [CVE-2025-1793](https://www.cve.org/CVERecord?id=CVE-2025-1793), CVE Terms of Use, modified 2025-06-05
- GitHub Advisory Database: [GHSA-v3c8-3pr6-gr7p](https://github.com/advisories/GHSA-v3c8-3pr6-gr7p), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-1793](https://nvd.nist.gov/vuln/detail/CVE-2025-1793), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-394](https://osv.dev/vulnerability/PYSEC-2026-394), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2025-1793 · Whole record: https://cve.day/CVE-2025-1793.json · Rebuilt by cve.day 2026-11-25T22:58:58.778Z
