Skip to content
OpenAdvisories
High · 8.4 CVE-2024-14021 EUVD-2026-2396GHSA-m592-cr2f-4qg5PYSEC-2026-85

LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization

Published Jan 12, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
run-llama llama_index ≤ 0.11.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI llama-index < 0.11.7 0.11.7 PYSEC-2026-85

References