CVE-2025-1750 json
SQL Injection in run-llama/llama_index
published 2025-06-02 17 mo ago modified 2026-10-15 24 d ago also GHSA-6mcc-q3mg-3qg6 , PYSEC-2025-245 , PYSEC-2026-4242 , EUVD-2025-16628
- cvss
- 9.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
An SQL injection vulnerability exists in the delete function of DuckDBVectorStore in run-llama/llama_index version v0.12.19. This vulnerability allows an attacker to manipulate the ref_doc_id parameter, enabling them to read and write arbitrary files on the server, potentially leading to remote code execution (RCE).
Patch / fix
- pypi llama-index-vector-stores-duckdb 0.12.21
- pypi llama-index 0.12.21
- run-llama run-llama/llama_index 0.3.1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 17 mo ago
Exploit prediction
0.88% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | llama-index-vector-stores-duckdb | >=0.12.19, <0.12.21 |
0.12.21 |
| pypi | llama-index | >=0.12.19, <0.12.21 |
0.12.21 |
Affected products
- run-llama run-llama/llama_index
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2
web, patch
-
huntr.com
/bounties/e1302233-9180-4269-9047-1526247d2cd8
web, exploit, third-party-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2025-1750
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-245.yaml
web
-
github.com
/run-llama/llama_index
package
-
github.com
/run-llama/llama_index/releases/tag/v0.12.21
web
-
pypi.org
/project/llama-index-vector-stores-duckdb
package
-
github.com
/advisories/GHSA-6mcc-q3mg-3qg6
advisory
Sources
- CVE List CVE-2025-1750
- GitHub Advisory GHSA-6mcc-q3mg-3qg6
- NVD CVE-2025-1750
- OSV PYSEC-2026-4242
- OSV PYSEC-2025-245
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.