CVE-2025-7707

World-Writable NLTK Cache Directory Vulnerability in run-llama/llama_index

State
Published
Severity
7.1 High
Published
Oct 13, 2025
Updated
Oct 14, 2025
Reserved
Jul 16, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.07.1 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H@huntr_ai

Weaknesses

Affected Products

ProductVersions
run-llama/llama_indexrun-llama
  • before v0.13.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.