CVE-2024-14021
LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization
- State
- Published
- Severity
- 8.4 High
- Published
- Jan 12, 2026
- Updated
- Jul 28, 2026
- Reserved
- Jan 9, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.4 High | 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 | VulnCheck |
Weaknesses
- CWE-502 Deserialization of Untrusted Data
Affected Products
| Product | Versions |
|---|---|
llama_indexrun-llama |
|
References
- https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12technical-descriptionexploit
- https://www.llamaindex.ai/product
- https://github.com/run-llama/llama_indexthird-party-advisory
- https://www.vulncheck.com/advisories/llamaindex-bgem3index-unsafe-deserializationthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.