Description
A critical deserialization vulnerability exists in the run-llama/llama_index library's JsonPickleSerializer component, affecting versions v0.12.27 through v0.12.40. This vulnerability allows remote code execution due to an insecure fallback to Python's pickle module. JsonPickleSerializer prioritizes deserialization using pickle.loads(), which can execute arbitrary code when processing untrusted data. Attackers can exploit this by crafting malicious payloads to achieve full system compromise. The root cause includes an insecure fallback mechanism, lack of validation or safeguards, misleading design, and violation of Python security guidelines.
References (2)
Core 2
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/9b55a5e8-74e6-4241-b323-e360dc8b110a
Scores
CVSS v3
7.5
EPSS
0.0195
EPSS Percentile
83.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-1112
Status
published
Products (2)
llamaindex/llamaindex
0.12.27 - 0.12.41
pypi/llama-index-core
0.11.15 - 0.12.41PyPI
Published
Jul 06, 2025
Tracked Since
Feb 18, 2026