CVE-2025-1750

Critical

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

SeverityCritical
CVSS9.8
Exploit probability—
ProductLlamaindex
PublishedJun 2, 2025
First seenJun 2, 2025
Weakness typeCWE-89SQL injection

How to fix

Update
  • llamaindex llamaindex0.12.21 or later
  • llama-index-vector-stores-duckdb0.12.21 or later
  • llama-index0.12.21 or later

Affected products

ProductAffected versionsFixed in
llamaindex llamaindex0.12.19 ≤ v < 0.12.210.12.21
llama-index-vector-stores-duckdbPyPI0.12.19 ≤ v < 0.12.210.12.21
llama-indexPyPI0.12.19 ≤ v < 0.12.210.12.21

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-1750 · Llamaindex · Dark Radar