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

CVE-2025-7707: llama-index has Insecure Temporary File

October 13, 2025

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.

References

  • github.com/advisories/GHSA-rg9h-vx28-xxp5
  • github.com/run-llama/llama_index
  • github.com/run-llama/llama_index/commit/98816394d57c7f53f847ed7b60725e69d0e7aae4
  • huntr.com/bounties/3fe2c8ab-6727-4aef-a0ef-4d2818e48803
  • nvd.nist.gov/vuln/detail/CVE-2025-7707

Code Behaviors & Features

Detect and mitigate CVE-2025-7707 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 before 0.13.0

Fixed versions

  • 0.13.0

Solution

Upgrade to version 0.13.0 or above.

Impact 7.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-377: Insecure Temporary File

Source file

pypi/llama-index/CVE-2025-7707.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 22 Oct 2025 00:20:07 +0000.