CVE-2025-3108 Details
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.
A critical deserialization vulnerability has been identified in the run-llama llama_index library, specifically within the JsonPickleSerializer component, in versions v0.12.27 prior to v0.12.40. This vulnerability arises from an insecure fallback to Python's pickle module, allowing remote code execution. The JsonPickleSerializer component prioritizes deserialization with pickle.loads(), which can execute arbitrary code when handling untrusted data. Attackers could exploit this vulnerability by creating malicious payloads, potentially leading to full system compromise.
Users are advised to update to version v0.12.40 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/run-llama/llama_index/commit/702e4340623092fac4cf2fe95eb9465034856da3 | [email protected] | Patch |
| https://huntr.com/bounties/9b55a5e8-74e6-4241-b323-e360dc8b110a | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1112 | Incomplete Documentation of Program Execution | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| llamaindex llamaindex | >= 0.12.27, < 0.12.41 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2025 | Initial Analysis | [email protected] |
| Jul 6, 2025 | New CVE Received | [email protected] |