Vulnerability
CVE-2025-3108
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.
3 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-m84c-4c34-28gf
LlamaIndex has Incomplete Documentation of Program Execution related to JsonPickleSerializer component
-
PYSEC-2025-249
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…
-
PYSEC-2026-1564
LlamaIndex has Incomplete Documentation of Program Execution related to JsonPickleSerializer component