CodexGuild Knowledge Base
llama-index has Insecure Temporary File
Canonical as of Oct 13, 2025
llama-index has Insecure Temporary File
High severity. Affects llama-index < 0.13.0. Upgrade to 0.13.0 or later.
CVE-2025-7707 / GHSA-rg9h-vx28-xxp5 · severity: high · CVSS 7.1 · PyPI
Affected
llama-index< 0.13.0 → fixed in 0.13.0
Details
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.
Source: GHSA-rg9h-vx28-xxp5 — GitHub Advisory Database (CC-BY-4.0).