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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 7.1 High | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H | @huntr_ai |
Weaknesses
- CWE-377 Insecure Temporary File
Affected Products
| Product | Versions |
|---|---|
run-llama/llama_indexrun-llama |
|
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.