Live threats

All CVEs / Llamaindex

CVE-2025-1750Llamaindex

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Jun 2, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Llamaindex.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI llama-index ≥ 0.12.19 < 0.12.21 0.12.21 pip install "llama-index>=0.12.21"
PyPI llama-index-vector-stores-duckdb ≥ 0.12.19 < 0.12.21 0.12.21 pip install "llama-index-vector-stores-duckdb>=0.12.21"
PyPI llama-index-vector-stores-duckdb ≥ 0.12.19 < 0.12.21 0.12.21 pip install "llama-index-vector-stores-duckdb>=0.12.21"

Per OSV / GitHub Advisories (PYSEC-2025-245, GHSA-6mcc-q3mg-3qg6, PYSEC-2026-4242). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
llamaindexllamaindex≥ 0.12.19 < 0.12.21

Official sources

References

Links published by the sources. Open them with care.