Vulnerability

CVE-2024-11958

criticalCVSS 3.0 9.8Published 20 Mar 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Llamaindex llamaindex

Weakness type

References

  • github.com /run-llama/llama_index/commit/35bd221e948e40458052d30c6ef27…
  • huntr.com /bounties/8ddf66e1-f74c-4d53-992b-76bc45cacac1

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning