{"id":"CVE-2025-3108","published":"2025-07-06T22:47:25Z","modified":"2025-07-07T13:43:12Z","title":"Unsafe Deserialization in JsonPickleSerializer Enables Remote Code Execution in run-llama/llama_index","vendor":"run-llama","product":"run-llama/llama_index","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.005,"percentile":0.43764,"provenance":"source"},"cwes":[{"id":"CWE-1112","name":"Incomplete Documentation of Program Execution"}],"references":[{"url":"https://huntr.com/bounties/9b55a5e8-74e6-4241-b323-e360dc8b110a","tags":[]},{"url":"https://github.com/run-llama/llama_index/commit/702e4340623092fac4cf2fe95eb9465034856da3","tags":[]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":8.75},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"run-llama","affectedVersions":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[">= unspecified, < v0.12.41"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-07T13:42:15.611862Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"llama-index-core","vulnerableRanges":[">=0.11.15, <0.12.41"],"patched":["0.12.41"],"from":["GHSA-m84c-4c34-28gf","PYSEC-2026-1564"],"provenance":"source"},{"ecosystem":"PyPI","package":"llama-index","vulnerableRanges":[">=0.12.27, <0.12.41"],"patched":["0.12.41"],"from":["PYSEC-2025-249"],"provenance":"source"}],"summary":{"text":"The unsafe deserialization flaw lives in the JsonPickleSerializer component of run-llama/llama_index, where the library falls back to Python's pickle module and calls pickle.loads() on data it processes. An attacker can achieve remote code execution by supplying a crafted payload that the serializer deserializes, which requires network access and a user interaction (the victim must process the malicious data), with no authentication needed and the attack complexity rated as high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:01Z"},"euvd":{"id":"EUVD-2025-20156","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-3046","published":"2025-07-07","fixed":"0.12.28","kev":false},{"cve":"CVE-2025-3225","published":"2025-07-07","fixed":"0.12.29","kev":false},{"cve":"CVE-2025-5472","published":"2025-07-07","fixed":"0.12.38","kev":false,"link":{"from":"CVE-2025-5472","to":"CVE-2025-3108","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:llama-index","fromFixed":"0.12.38","toFixed":"0.12.41","daysApart":-1},{"kind":"version-step","provenance":"source","package":"PyPI:llama-index-core","fromFixed":"0.12.38","toFixed":"0.12.41","daysApart":-1}]}},{"cve":"CVE-2025-3108","published":"2025-07-06","fixed":"0.12.41","kev":false},{"cve":"CVE-2025-6209","published":"2025-07-07","fixed":"0.12.41","kev":false},{"cve":"CVE-2025-6211","published":"2025-07-10","fixed":"0.12.41","kev":false},{"cve":"CVE-2025-7707","published":"2025-10-13","fixed":"0.13.0","kev":false}],"package":"PyPI:llama-index"}}