CVE-2025-1750
criticalpriority · track · 0EPSS 0.008 · 57 %ileEURUUSEPSS · scored 2026-10-27
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).
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
- PyPI llama-index-vector-stores-duckdb0.12.19 → 0.12.21osvUSpkg:pypi/llama-index-vector-stores-duckdb
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-6mcc-q3mg-3qg6LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id2025-06-02ghsa · osvUS
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).
- PYSEC-2025-2452025-06-02vendor · osvUS
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).
- PYSEC-2026-4242LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id2026-10-15vendor · osvUS
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).
also known as (8)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-1750cnnvd
- https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2cnnvd
- https://github.com/run-llama/llama_index/releasesPatchcnnvd
- https://huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-1750cnnvd
- https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2enisa_euvd
- https://huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8enisa_euvd
- https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan