{"id":"CVE-2024-14021","published":"2026-01-12T23:04:43Z","modified":"2026-07-28T01:47:42Z","title":"LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization","vendor":"run-llama","product":"llama_index","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00337,"percentile":0.27782,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12","tags":["technical-description","exploit"]},{"url":"https://www.llamaindex.ai/","tags":["product"]},{"url":"https://github.com/run-llama/llama_index","tags":["third-party-advisory"]},{"url":"https://www.vulncheck.com/advisories/llamaindex-bgem3index-unsafe-deserialization","tags":["third-party-advisory"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":5.56},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"run-llama","affectedVersions":[{"vendor":"run-llama","product":"llama_index","versions":["<= 0.11.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-01-13T16:23:29.155695Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"llama-index","vulnerableRanges":["<0.11.7"],"patched":["0.11.7"],"from":["PYSEC-2026-85"],"provenance":"source"}],"summary":{"text":"The flaw is an unsafe deserialization issue in the BGEM3Index.load_from_disk() function of the bge_m3 managed index in the llama_index product from run-llama, affecting versions up to and including 0.11.6. The function passes a multi_embed_store.pkl file from a user-supplied persist directory directly to pickle.load() without validation. An attacker who can supply a crafted persist directory containing a malicious pickle file can achieve arbitrary code execution, but only if a victim is induced to load that index from disk, which requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:00:16Z"},"euvd":{"id":"EUVD-2026-2396","exploited":false,"provenance":"source"},"exploitRefs":["https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12"]}