---
cve: "CVE-2024-14021"
severity: "HIGH"
cvss: 8.4
epss: "28%"
vendor: "run-llama"
kev: false
exploited: false
published: "2026-01-12 23:15:51"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-12T16:40:56+02:00"
---

# CVE-2024-14021

> 8.4 HIGH · 🧪 PoC

## Beschreibung

LlamaIndex (run-llama/llama_index) versions up to and including 0.11.6 contain an unsafe deserialization vulnerability in BGEM3Index.load_from_disk() in llama_index/indices/managed/bge_m3/base.py. The function uses pickle.load() to deserialize multi_embed_store.pkl from a user-supplied persist_dir without validation. An attacker who can provide a crafted persist directory containing a malicious pickle file can trigger arbitrary code execution when the victim loads the index from disk.

## CVSS-Vektor

```
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |

## Referenzen

- <https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12>
- <https://www.llamaindex.ai/>
- <https://github.com/run-llama/llama_index>
- <https://www.vulncheck.com/advisories/llamaindex-bgem3index-unsafe-deserialization>

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