All reports
Critical

LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id

Affected versions

Version ranges need review.

Affected versions
>=0.12.19 <0.12.21
Fixed version
0.12.21
Affected versions
>= 0.12.19, < 0.12.21
Fixed version
0.12.21
Affected versions
>=0.12.19 <0.12.21
Fixed version
0.12.21

Exploitation

CVE-2025-1750

Probability of exploitation in the next 30 days: 0.88%

FIRST EPSS · 2026-11-21

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

Links