← Back to CVEs
CVE-2024-14021
HIGH7.8
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.
CVE Details
CVSS v3.1 Score7.8
SeverityHIGH
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredNONE
User InteractionREQUIRED
Published1/12/2026
Last Modified1/15/2026
Sourcenvd
Honeypot Sightings0
Affected Products
llamaindex:llamaindex
Weaknesses (CWE)
CWE-502
References
https://github.com/run-llama/llama_index(disclosure@vulncheck.com)
https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12(disclosure@vulncheck.com)
https://www.llamaindex.ai/(disclosure@vulncheck.com)
https://www.vulncheck.com/advisories/llamaindex-bgem3index-unsafe-deserialization(disclosure@vulncheck.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.