Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. llama-index-core
  4. ›
  5. CVE-2025-3108

CVE-2025-3108: LlamaIndex has Incomplete Documentation of Program Execution related to JsonPickleSerializer component

July 7, 2025

Incomplete Documentation of Program Execution 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 involves the use of an insecure fallback strategy without sufficient input validation or protective safeguards. Version 0.12.41 renames JsonPickleSerializer to PickleSerializer and adds a warning to the docs to only use PickleSerializer to deserialize safe things.

References

  • github.com/advisories/GHSA-m84c-4c34-28gf
  • github.com/run-llama/llama_index
  • github.com/run-llama/llama_index/blob/v0.12.41/CHANGELOG.md
  • github.com/run-llama/llama_index/commit/702e4340623092fac4cf2fe95eb9465034856da3
  • huntr.com/bounties/9b55a5e8-74e6-4241-b323-e360dc8b110a
  • nvd.nist.gov/vuln/detail/CVE-2025-3108

Code Behaviors & Features

Detect and mitigate CVE-2025-3108 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.11.15 before 0.12.41

Fixed versions

  • 0.12.41

Solution

Upgrade to version 0.12.41 or above.

Impact 5 MEDIUM

CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-1112: Incomplete Documentation of Program Execution

Source file

pypi/llama-index-core/CVE-2025-3108.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:56 +0000.