PT-2026-2317 · Unknown · Llama Index
Lifeteam2024
·
Published
2026-01-12
·
Updated
2026-01-12
·
CVE-2024-14021
CVSS v4.0
8.4
High
| Vector | AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
LlamaIndex versions up to and including 0.11.6
Description
LlamaIndex contains an unsafe deserialization issue in the
BGEM3Index.load from disk() function located in llama index/indices/managed/bge m3/base.py. The function utilizes pickle.load() to deserialize the multi embed store.pkl file from a user-supplied persist dir without proper validation. This allows an attacker who can control the contents of the persist dir and provide a malicious pickle file to potentially execute arbitrary code when the index is loaded from disk. The vulnerable function is BGEM3Index.load from disk().Recommendations
Update LlamaIndex to a version newer than 0.11.6.
Exploit
Fix
Deserialization of Untrusted Data
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Llama Index