LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id
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).
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2025-1750US | — | — | ||
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… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/advisories/GHSA-6mcc-q3mg-3qg6ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-245.yamlWEB
- https://github.com/run-llama/llama_indexPACKAGE
- https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2WEB
- https://github.com/run-llama/llama_index/releases/tag/v0.12.21WEB
- https://huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-1750ADVISORY
- https://pypi.org/project/llama-index-vector-stores-duckdbPACKAGE
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan