~ / search / GHSA-6mcc-q3mg-3qg6

GHSA-6mcc-q3mg-3qg6

LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id

Source: GitHub Advisory Database (reviewed) Critical CVE-2025-1750

Packages

EcosystemPackageAffectedFixed in
PyPI llama-index-vector-stores-duckdb >= 0.12.19, < 0.12.21 0.12.21

Details

As written in the advisory (Markdown source, shown as plain text).

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

References

External links from the advisory. They lead to third-party sites.