CVE-2025-7707World-Writable NLTK Cache Directory Vulnerability in run-llama/llama_index
Updated under an hour ago ()
Does this affect you?
It affects run-llama/llama_index and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.1 HIGH (v3.0, CNA)CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Weakness (CWE)
- CWE-377
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- @huntr_ai
- NVD analysis
- Analyzed
- Record last updated
- Oct 14, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
run-llama run-llama/llama_index run_llama:llama_index (from the name) | from unspecified before v0.13.0 | CNA record |
llamaindex llamaindex llamaindex:llamaindex | from 0.12.33 before 0.13.0 | NVD |
References
- https://huntr.com/bounties/3fe2c8ab-6727-4aef-a0ef-4d2818e48803exploit, third-party-advisory
- https://github.com/run-llama/llama_index/commit/98816394d57c7f53f847ed7b60725e69d0e7aae4patch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.