CVE-2025-3108
Last modified
CVE-2025-3108 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Llamaindex | Llamaindex | >= 0.12.27, < 0.12.41 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-3108?
How severe is CVE-2025-3108?
How do I fix CVE-2025-3108?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-31074Deserialization of Untrusted Data vulnerability in MDJM Mobi…8.8
- CVE-2025-31075Improper Neutralization of Script-Related HTML Tags in a Web…6.5
- CVE-2025-31076Server-Side Request Forgery (SSRF) vulnerability in WP Compr…4.9
- CVE-2025-31077Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2025-31078Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2025-31079Cross-Site Request Forgery (CSRF) vulnerability in usermaven…4.3
- CVE-2025-31080Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2025-31081Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2025-31082Improper Control of Filename for Include/Require Statement i…8.1
- CVE-2025-31083Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2025-31084Deserialization of Untrusted Data vulnerability in sunshinep…9.8
- CVE-2025-31085Improper Neutralization of Input During Web Page Generation …7.1
Are you affected by CVE-2025-3108?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
