llama-index-vector-stores-duckdb
Affected
- introduced
0.12.19, fixed0.12.21(ecosystem)
Fixed versions
0.12.21
Fix
- Fixed version
0.12.21pip install --upgrade llama-index-vector-stores-duckdb==0.12.21
Advisory
Also known as: CVE-2025-1750, GHSA-6mcc-q3mg-3qg6, PYSEC-2025-245
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).
Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0.12.19, fixed 0.12.21 (ecosystem)0.12.21
0.12.21pip install --upgrade llama-index-vector-stores-duckdb==0.12.21Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0