AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

LlamaIndexPYSEC-2025-245

LlamaIndex: SQL injection

LlamaIndex

CVE-2025-1750 · Published Jun 2, 2025 · updated Oct 15, 2026

Critical9.8
Fix: upgrade to 0.12.21 or later
Source advisory

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 versions

PackageAffectedFixed in
llama-index
PyPI
>= 0.12.19, < 0.12.210.12.21
Details and references
CVSS 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity from
the CVSS score
Also known as
CVE-2025-1750, GHSA-6mcc-q3mg-3qg6, PYSEC-2026-4242

More LlamaIndex advisories

All LlamaIndex