Vulnerability in Llamaindex
CVE-2025-7707
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.
EPSS: 0.002 (6.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Llamaindex
- Run-llama Run-llama/llama_index — versions unspecified
Weakness classification (CWE)
References
- security@huntr.dev (Exploit, Third Party Advisory)
- security@huntr.dev (Patch)
Frequently asked questions
- What is CVE-2025-7707?
- CVE-2025-7707 is a high-severity vulnerability in Llamaindex, classified under Insecure Temporary File. CVSS score: 7.8/10. Published 2025-10-13.
- How severe is CVE-2025-7707?
- High severity. CVSS v3 base score is 7.8 out of 10.