{"id":"CVE-2024-14021","aliases":["CVE-2024-14021","PYSEC-2026-85"],"related":[],"kind":"vulnerability","state":"published","title":"LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Las versiones de LlamaIndex (run-llama/llama_index) hasta la 0.11.6 inclusive contienen una vulnerabilidad de deserialización insegura en BGEM3Index.load_from_disk() en llama_index/indices/managed/bge_m3/base.py. La función utiliza pickle.load() para deserializar multi_embed_store.pkl de un persist_dir proporcionado por el usuario sin validación. Un atacante que pueda proporcionar un directorio persist_dir manipulado que contenga un archivo pickle malicioso puede desencadenar la ejecución de código arbitrario cuando la víctima carga el índice desde el disco.","source":"nvd"}],"published":"2026-01-12T23:04:43.095Z","modified":"2026-07-28T01:47:42.445Z","severity":{"scorer":"VulnCheck","scheme":"CVSS: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","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS: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","score":8.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.11.6","status":"affected"}],"vendor":"run-llama","product":"llama_index","repo":"https://github.com/run-llama/llama_index","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.11.6"}],"vendor":"llamaindex","product":"llamaindex","cpe":"cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.11.7"}],"ecosystem":"PyPI","package":"llama-index","purl":"pkg:pypi/llama-index","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12","tags":["evidence","exploit","technical-description","third-party-advisory"],"sources":["cvelist","nvd","pysec"]},{"url":"https://www.llamaindex.ai/","tags":["product","web"],"sources":["cvelist","nvd","pysec"]},{"url":"https://github.com/run-llama/llama_index","tags":["package","product","third-party-advisory"],"sources":["cvelist","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/llamaindex-bgem3index-unsafe-deserialization","tags":["advisory","third-party-advisory"],"sources":["cvelist","nvd","pysec"]}],"credits":["LifeTeam2024"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-01-13T16:23:29.155Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-14021","url":"https://www.cve.org/CVERecord?id=CVE-2024-14021","licence":"CVE Terms of Use","modified":"2026-07-28T01:47:42.445Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-14021","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-14021","licence":"Public domain","modified":"2026-07-14T23:17:13.753Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-85","url":"https://osv.dev/vulnerability/PYSEC-2026-85","licence":"CC-BY-4.0","modified":"2026-05-20T09:19:05.259Z"}],"updatedAt":"2026-11-25T22:58:52.959Z","epss":{"score":0.00337,"percentile":0.29035,"date":"2026-12-01T12:00:22.000Z"}}