Vulnerability in Llamaindex
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.005 (37.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 38th percentile — 37.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.000
Affected products
- Llamaindex
- Run-Llama Run-Llama/llama Index — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- huntr.com/bounties/9b55a5e8-74e6-4241-b323-e360dc8b110a (Exploit, Third Party Advisory)
- github.com/run-llama/llama_index/commit/702e4340623092fac4cf2fe95eb9465034856da3 (Patch)
Frequently asked questions
- What is CVE-2025-3108?
- CVE-2025-3108 is a high-severity vulnerability in Llamaindex, classified under CWE-1112. CVSS score: 7.5/10. Published 2025-07-06.
- How severe is CVE-2025-3108?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2025-3108 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.