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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 5
- CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- EPSS probability
- 0.43%
- CWE
- CWE-1112
- Published
- 2025-07-06
- Last modified
- 2026-03-12
Affected products
- run-llama run-llama/llama_index
Weakness type
Related vulnerabilities
- CVE-2023-29241 — Improper Information in Cybersecurity Guidebook in Bosch Building Integration System (BIS) 5.0 may...