CVE-2024-14021
highpriority · track · 31EPSS 0.003 · 27 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.7–8.4
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- PYSEC-2026-852026-01-12vendor · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-14021cnnvd
- https://github.com/run-llama/llama_indexcnnvd
- https://github.com/run-llama/llama_index/releasesPatchcnnvd
- https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12cnnvd
- https://www.llamaindex.ai/cnnvd
- https://www.vulncheck.com/advisories/llamaindex-bgem3index-unsafe-deserializationcnnvd
- https://github.com/run-llama/llama_indexenisa_euvd
- https://huntr.com/bounties/ab4ceeb4-aa85-4d1c-aaca-4eda1b71fc12enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan