CVE-2025-3108

HIGH

Llamaindex < 0.12.41 - Remote Code Execution

Title source: rule
STIX 2.1

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.

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