CVE-2024-14021 HIGH

CVE-2024-14021: LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization

Vendor Run-Llama
Product llama_index
Weakness CWE-502 · Unsafe deserialization
Published January 12, 2026
Last update January 13, 2026

CVSS base score

8.4/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 12, 2026 CVE published
January 13, 2026 Record updated

Related vulnerabilities

04Related CVE