Vulnerabilities · 2024 · Llamaindex
CVE-2024-14021
Llamaindex vulnerability
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
Llamaindex. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Llamaindex runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Llamaindex products
CVE-2025-7707CVE-2025-6211CVE-2025-6210CVE-2025-6209CVE-2025-5472CVE-2025-3225CVE-2025-3108CVE-2025-3046All 24
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.