Skip to main content
← All vulnerabilities
CVE-2024-14021PYSEC-2026-85

LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.11.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • run-llama llama_index

    through 0.11.6

  • llama-indexPyPI

    fixed in 0.11.7

References 4

huntr.com

llamaindex.ai

GitHub · run-llama/llama_index

vulncheck.com