Live threats

All CVEs / Llamaindex

CVE-2025-3108Llamaindex

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jul 6, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1112
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Llamaindex.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI llama-index ≥ 0.12.27 < 0.12.41 0.12.41 pip install "llama-index>=0.12.41"
PyPI llama-index-core ≥ 0.11.15 < 0.12.41 0.12.41 pip install "llama-index-core>=0.12.41"
PyPI llama-index-core ≥ 0.11.15 < 0.12.41 0.12.41 pip install "llama-index-core>=0.12.41"

Per OSV / GitHub Advisories (PYSEC-2025-249, GHSA-m84c-4c34-28gf, PYSEC-2026-1564). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
llamaindexllamaindex≥ 0.12.27 < 0.12.41

Official sources

References

Links published by the sources. Open them with care.