Code executionin run-llama llama_index.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
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.
- Upgrade llama-index (PyPI) to 0.11.7 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 9 Jan 2026CVE ID reserved by VulnCheck.
- 12 Jan 2026Published in the CVE List.
- 28 Jul 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other llama_index vulnerabilities
Same weakness: Deserialization of untrusted data
- www.llamaindex.ai product
- github.com third-party-advisory
- www.vulncheck.com third-party-advisory
Patchminder. CVE-2024-14021: Code execution in run-llama llama_index. https://patchminder.com/cve/cve-2024-14021/ (accessed 5 December 2026).