{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-14021","id":"CVE-2024-14021","title":"LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization","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 pi","descriptionLong":"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.","published":"2026-01-12T23:04:43.095Z","updated":"2026-10-28T02:30:38.780404729Z","reserved":"2026-01-09T20:42:56.495Z","status":"Analyzed","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.4,"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.4,"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.4,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["run-llama llama_index"],"affectedProducts":[{"vendor":"run-llama","product":"llama_index","defaultStatus":"unknown","versions":[{"lessThanOrEqual":"0.11.6","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":["<0.11.7"],"fixed":["0.11.7"],"advisory":"PYSEC-2026-85"}],"cwes":["CWE-502"],"aliases":["PYSEC-2026-85"],"references":[{"url":"https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12","tags":["technical-description","exploit","Exploit","Third Party Advisory","evidence"]},{"url":"https://www.llamaindex.ai/","tags":["product","Product","web"]},{"url":"https://github.com/run-llama/llama_index","tags":["third-party-advisory","Product","advisory","package"]},{"url":"https://www.vulncheck.com/advisories/llamaindex-bgem3index-unsafe-deserialization","tags":["third-party-advisory","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/14xxx/CVE-2024-14021.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-14021","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00337,"epssPercentile":0.27782,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-14021","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-14021","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-14021","ok":true,"note":"1 package"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-14021","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}