---
cve: "CVE-2024-11958"
severity: "CRITICAL"
cvss: 9.8
epss: "1.4%"
vendor: "run-llama"
kev: false
exploited: false
published: "2025-03-20 10:10:46"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-09-15T04:05:39+02:00"
---

# CVE-2024-11958

> 9.8 CRITICAL · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- aa0092a14420a75e2e4251a2bd8aa1d5f9c28e29 (Commit)
- 35bd221e948e40458052d30c6ef2779bc965b6d0 (Commit)

## Referenzen

- <https://huntr.com/bounties/8ddf66e1-f74c-4d53-992b-76bc45cacac1>
- <https://github.com/run-llama/llama_index/commit/35bd221e948e40458052d30c6ef2779bc965b6d0>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-11958) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
