CVE-2024-14021
published high CVSS 4.0 · 8.4LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| run-llama | — | llama_index0 through 0.11.6 · Other versions: unknown | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| run-llama | llama_index | 0 through 0.11.6 (affected · semver)Default: unknown | VulnCheck · cna |
Weaknesses
1- CWE-502 CWE-502 Deserialization of Untrusted Data
References
4Provider assertions
2VulnCheck · cna
LlamaIndex <= 0.11.6 BGEM3Index Unsafe Deserialization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bbfc71bbb022095b332bb1f905267abf3418d6b7015dccb5a1398a280b2c2a0c
- Ingested
- 23 Sep 2026, 08:17:58 UTC
- Source record
- Official CVE record