CVE-2025-3108
published medium CVSS 3.0 · 5.0Unsafe Deserialization in JsonPickleSerializer Enables Remote Code Execution in run-llama/llama_index
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| run-llama | — | run-llama/llama_indexunspecified to < v0.12.41 | Affected | Not stated | @huntr_ai |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| run-llama | run-llama/llama_index | unspecified to < v0.12.41 (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-1112 CWE-1112 Incomplete Documentation of Program Execution
References
2Provider assertions
2@huntr_ai · cna
Unsafe Deserialization in JsonPickleSerializer Enables Remote Code Execution in run-llama/llama_index
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e5b342260310d77447c9d97a2bc9742c1d101247f15d13baed651946544982a1
- Ingested
- 23 Sep 2026, 08:47:25 UTC
- Source record
- Official CVE record