CVE-2025-3108CWE-1112

Unsafe Deserialization in JsonPickleSerializer Enables Remote Code Execution in run-llama/llama_index

Medium · published July 6, 2025

CVSS v3.0
5.0
EPSS
0%
Percentile
35.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
5.0 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00428 · 35.8th percentile
Weakness
CWE-1112 · Incomplete Documentation of Program Execution
Published
2025-07-06T22:47Z
EPSS history
Timeline
  • 06 JUL 22:47Z
    Unsafe Deserialization in JsonPickleSerializer Enables Remote Code Execution in run-llama/llama_index
    cvelistv5