GHSA-6mcc-q3mg-3qg6CriticalCVSS 9.8

LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id

Published
June 2, 2025
Last Modified
October 2, 2026

🔗 CVE IDs covered (1)

📋 Description

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).

🎯 Affected products1

  • pip/llama-index-vector-stores-duckdb:>= 0.12.19, < 0.12.21

🔗 References (6)