{"id":"CVE-2024-14021","state":"PUBLISHED","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 pickle file can trigger arbitrary code execution when the victim loads the index from disk.","publishedAt":"2026-01-12T23:04:43.095Z","updatedAt":"2026-07-28T01:47:42.445Z","severity":{"score":8.4,"label":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["run-llama llama_index"],"affected":[{"vendor":"run-llama","product":"llama_index","packageURL":"pkg:github/run-llama/llama_index","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.11.6","versionType":"semver"}],"repo":"https://github.com/run-llama/llama_index"}],"references":["https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12","https://www.llamaindex.ai/","https://github.com/run-llama/llama_index","https://www.vulncheck.com/advisories/llamaindex-bgem3index-unsafe-deserialization"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-29T20:06:50.777Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/14xxx/CVE-2024-14021.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-14021","state":"PUBLISHED","datePublished":"2026-01-12T23:04:43.095Z","dateUpdated":"2026-07-28T01:47:42.445Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-01-09T20:42:56.495Z"},"containers":{"cna":{"title":"LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization","descriptions":[{"lang":"en","value":"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":[{"vendor":"run-llama","product":"llama_index","packageURL":"pkg:github/run-llama/llama_index","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.11.6","versionType":"semver"}],"repo":"https://github.com/run-llama/llama_index"}],"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"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.4,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","description":"CWE-502 Deserialization of Untrusted Data","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-28T01:47:42.445Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*","versionEndIncluding":"0.11.6"}]}]}],"credits":[{"lang":"en","type":"finder","value":"LifeTeam2024"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.5.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-13T16:23:29.155695Z","id":"CVE-2024-14021","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-13T16:23:36.237Z"}}]}}}