Live threats

All CVEs / Llamaindex

CVE-2024-11958Llamaindex

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Mar 20, 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

A SQL injection vulnerability exists in the `duckdb_retriever` component of the run-llama/llama_index repository, specifically in the latest version. The vulnerability arises from the construction of SQL queries without using prepared statements, allowing an attacker to inject arbitrary SQL code. This can lead to remote code execution (RCE) by installing the shellfs extension and executing malicious commands.

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-retrievers-duckdb-retriever < 0.4.0 0.4.0 pip install "llama-index-retrievers-duckdb-retriever>=0.4.0"
PyPI llama-index-retrievers-duckdb-retriever < 0.4.0 0.4.0 pip install "llama-index-retrievers-duckdb-retriever>=0.4.0"

Per OSV / GitHub Advisories (GHSA-339r-cjv9-x78g, PYSEC-2026-399). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
llamaindexllamaindex< 0.4.0

Official sources

References

Links published by the sources. Open them with care.