GitHub Advisoryadvisory · PyPI

GHSA-6mcc-q3mg-3qg6 LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id

CRITICAL Published 2025-06-02 Modified 2026-10-02 Official page ↗
Aliases
CVE-2025-1750
Ecosystem
PyPI
Packages
llama-index-vector-stores-duckdb
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Reviewed
2026-10-02

Affected packages

• PyPI llama-index-vector-stores-duckdb: >= 0.12.19, < 0.12.21 → fixed in 0.12.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).

Related

Alias · CVE (1)

  • CVE-2025-1750 An SQL injection vulnerability exists in the delete function of DuckDBVectorStore in run-llama/llama_index version v0.12.19. vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References