VDB
Sign up
CRITICAL9.8

PYSEC-2025-245

Quick fix

PYSEC-2025-245 — llama-index: upgrade to the fixed version with the command below.

pip install --upgrade 'llama-index>=0.12.21'

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/llama-index
Introduced in: 0.12.19Fixed in: 0.12.21
Fixpip install --upgrade 'llama-index>=0.12.21'

References