CVE-2024-14021

HIGH CVSS 3.1: 7.8 EPSS 0.34%
Updated Jan 15, 2026
Llamaindex
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions before 0.11.6
Type CWE-502 (Deserialization of Untrusted Data)
Vendor Llamaindex
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Llamaindex Llamaindex
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
— <= 0.11.6