{
 "id": "CVE-2024-14021",
 "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.",
 "published": "2026-01-12",
 "last_modified": "2026-07-14",
 "vuln_status": "Analyzed",
 "cna": "disclosure@vulncheck.com",
 "cvss": {
  "version": "4.0",
  "score": 8.4,
  "severity": "HIGH",
  "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",
  "source": "disclosure@vulncheck.com"
 },
 "cwe": [
  "CWE-502"
 ],
 "products": [
  {
   "vendor": "llamaindex",
   "product": "llamaindex",
   "versions_affected": "<= 0.11.6",
   "fixed_in": null,
   "product_id": "llamaindex"
  }
 ],
 "category": "framework",
 "surface": [
  "code_execution"
 ],
 "kev": null,
 "fix": {
  "status": "unknown",
  "version": null,
  "url": null
 },
 "references": [
  {
   "url": "https://github.com/run-llama/llama_index",
   "source": "disclosure@vulncheck.com",
   "tags": [
    "Product"
   ]
  },
  {
   "url": "https://www.llamaindex.ai/",
   "source": "disclosure@vulncheck.com",
   "tags": [
    "Product"
   ]
  },
  {
   "url": "https://www.vulncheck.com/advisories/llamaindex-bgem3index-unsafe-deserialization",
   "source": "disclosure@vulncheck.com",
   "tags": [
    "Third Party Advisory"
   ]
  }
 ],
 "related_agents": [
  "llamaindex-llamaindex"
 ],
 "related_incidents": [],
 "match": {
  "tests": [
   "A:cpe"
  ],
  "terms": [
   "llamaindex:llamaindex:llamaindex"
  ]
 },
 "status": "candidate",
 "note": null,
 "reviewer": null,
 "checked_on": null,
 "retrieved_on": "2026-10-25"
}