CVE-2025-7707: PYSEC-2026-1556 - llama-index has Insecure Temporary File

CVE-2025-7707 · Severity: high · CVSS 7.8 · Published 2025-10-13

The llama_index library version 0.12.33 sets the NLTK data directory to a subdirectory of the codebase by default, which is world-writable in multi-user environments. This configuration allows local users to overwrite, delete, or corrupt NLTK data files, leading to potential denial of service, data tampering, or privilege escalation. The vulnerability arises from the use of a shared cache directory instead of a user-specific one, making it susceptible to local data tampering and denial of service.

Technologies: Llamaindex, llama-index (PyPI). Vendors: Llamaindex, PyPI.

Quick answers

Is CVE-2025-7707 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-7707 being exploited in the wild.
How severe is CVE-2025-7707?
High severity, with a CVSS score of 7.8, published 13 October 2025.
Which products and versions are affected?
llama-index (PyPI) ECOSYSTEM:introduced=0,fixed=0.13.0.
Is there a fix for CVE-2025-7707?
Yes. llama-index (PyPI): upgrade to 0.13.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-7707?
Check whether you run Llamaindex or llama-index (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • llama-index (PyPI): upgrade to 0.13.0 or later
    pip install "llama-index>=0.13.0"

Affected products

  • Llamaindex
  • llama-index (PyPI) ECOSYSTEM:introduced=0,fixed=0.13.0

Identifiers

  • CVE-2025-7707
  • GHSA-rg9h-vx28-xxp5
  • PYSEC-2026-1556

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.