LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id
What to do
- Upgrade to a fixed version: llama-index-vector-stores-duckdb 0.12.21.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
llama-index-vector-stores-duckdb
- >= 0.12.19, < 0.12.21
- 0.12.21
Check your project: pip show llama-index-vector-stores-duckdb