CVE-2024-14021

HIGH

LlamaIndex <= 0.11.6 - Remote Code Execution via Unsafe Pickle Deserialization in BGEM3Index

Title source: llm
STIX 2.1

Description

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.

References (4)

Core 4
Core References
Exploit, Third Party Advisory technical-description exploit
https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12
Product product
https://www.llamaindex.ai/
Product third-party-advisory
https://github.com/run-llama/llama_index

Scores

CVSS v3 7.8
EPSS 0.0029
EPSS Percentile 20.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-502
Status published
Products (1)
llamaindex/llamaindex < 0.11.6
Published Jan 12, 2026
Tracked Since Feb 18, 2026