AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

LlamaIndexPYSEC-2026-85

LlamaIndex: unsafe deserialization

LlamaIndex

CVE-2024-14021 · Published Jan 12, 2026 · updated May 20, 2026

High7.8
Fix: upgrade to 0.11.7 or later
Source advisory

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 versions

PackageAffectedFixed in
llama-index
PyPI
< 0.11.70.11.7
Details and references

More LlamaIndex advisories

All LlamaIndex