CVE-2024-14021

published 12 Jan 2026 · updated 28 Jul 2026

LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization

9.4CriticalCVSS 8.4EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
run-llama<=0.11.6

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-14021 severity on Zeptric[![CVE-2024-14021](https://zeptric.io/badge/cve/CVE-2024-14021.svg)](https://zeptric.io/cve/CVE-2024-14021)