{"cve":"CVE-2025-3108","nvd":{"published":"2025-07-06T23:15:21.777","modified":"2026-06-17T09:19:12.060","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5},"cwes":["CWE-1112"],"references":["https://github.com/run-llama/llama_index/commit/702e4340623092fac4cf2fe95eb9465034856da3","https://huntr.com/bounties/9b55a5e8-74e6-4241-b323-e360dc8b110a"],"products":["llamaindex:llamaindex"],"source":"nvd","synced_at":"2026-10-19T22:04:28.436527499+00:00"},"epss":{"cve":"CVE-2025-3108","score":0.005,"percentile":0.42881,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-m84c-4c34-28gf","url":"https://osv.dev/vulnerability/GHSA-m84c-4c34-28gf","summary":"LlamaIndex has Incomplete Documentation of Program Execution related to JsonPickleSerializer component","modified":"2026-07-13T07:26:35.963511267Z","packages":[{"ecosystem":"PyPI","name":"llama-index-core","purl":"pkg:pypi/llama-index-core","ranges":[">=0.11.15 <0.12.41"],"fixed":["0.12.41"]}]},{"id":"PYSEC-2025-249","url":"https://osv.dev/vulnerability/PYSEC-2025-249","summary":"","modified":"2026-07-13T07:26:35.963511267Z","packages":[{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":[">=0.12.27 <0.12.41"],"fixed":["0.12.41"]}]},{"id":"PYSEC-2026-1564","url":"https://osv.dev/vulnerability/PYSEC-2026-1564","summary":"LlamaIndex has Incomplete Documentation of Program Execution related to JsonPickleSerializer component","modified":"2026-07-13T07:26:35.963511267Z","packages":[{"ecosystem":"PyPI","name":"llama-index-core","purl":"pkg:pypi/llama-index-core","ranges":[">=0.11.15 <0.12.41"],"fixed":["0.12.41"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}