| Package | Affected versions | Patched versions |
|---|---|---|
| llama-index | ≥ 0.12.19, < 0.12.21 | 0.12.21 |
| llama-index-vector-stores-duckdb | ≥ 0.12.19, < 0.12.21 | 0.12.21 |
| llamaindex | ≥ 0.12.19, < 0.12.21 | 0.12.21 |
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).
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free