ADVISORIES

Vulnerability

CVE-2024-11958

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.

2 advisories report this vulnerability, across 1 ecosystem.

Critical severity PyPI 2

Advisories

  • GHSA-339r-cjv9-x78g

    LlamaIndex Retrievers Integration: DuckDBRetriever SQL Injection

    Critical CVE-2024-11958 PyPI Updated 21 July 2026
  • PYSEC-2026-399

    LlamaIndex Retrievers Integration: DuckDBRetriever SQL Injection

    CVE-2024-11958 PyPI Updated 1 July 2026

References