Critical severity9.8NVD Advisory· Published Jun 2, 2025· Updated Jun 17, 2026
CVE-2025-1750
CVE-2025-1750
Description
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).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
llama-index-vector-stores-duckdbPyPI | >= 0.12.19, < 0.12.21 | 0.12.21 |
Affected products
3<=v0.12.19+ 1 more
- (no CPE)range: <=v0.12.19
- (no CPE)range: unspecified
Patches
Vulnerability mechanics
References
6- github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2nvdPatchWEB
- huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-6mcc-q3mg-3qg6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-1750ghsaADVISORY
- github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-245.yamlghsaWEB
- github.com/run-llama/llama_index/releases/tag/v0.12.21ghsaWEB
News mentions
0No linked articles in our index yet.