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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*

History

30 Jul 2025, 21:29

Type Values Removed Values Added
First Time Llamaindex
Llamaindex llamaindex
References () https://github.com/run-llama/llama_index/commit/702e4340623092fac4cf2fe95eb9465034856da3 - () https://github.com/run-llama/llama_index/commit/702e4340623092fac4cf2fe95eb9465034856da3 - Patch
References () https://huntr.com/bounties/9b55a5e8-74e6-4241-b323-e360dc8b110a - () https://huntr.com/bounties/9b55a5e8-74e6-4241-b323-e360dc8b110a - Exploit, Third Party Advisory
CVSS v2 : unknown
v3 : 5.0
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*

08 Jul 2025, 16:18

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-06 23:15

Updated : 2025-07-30 21:29


NVD link : CVE-2025-3108

Mitre link : CVE-2025-3108

CVE.ORG link : CVE-2025-3108


JSON object : View

Products Affected

llamaindex

  • llamaindex
CWE
CWE-1112

Incomplete Documentation of Program Execution