World-Writable NLTK Cache Directory Vulnerability in run-llama/llama_index
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| run-llama | run-llama/llama_index | before v0.13.0 | v0.13.0 | Patch available | CNA |
| — | llama-index (PyPI) | before 0.13.0 | 0.13.0 | Patch available | GHSA-rg9h-vx28-xxp5 |
- run-llama/llama_index Vendorrun-llama Affected before v0.13.0 Fixed in v0.13.0 Patch available CNA
- llama-index (PyPI) Vendor— Affected before 0.13.0 Fixed in 0.13.0 Patch available GHSA-rg9h-vx28-xxp5
Remediation
- Fix · CNA run-llama/llama_index (run-llama) Fixed in v0.13.0
- Fix · GHSA-rg9h-vx28-xxp5 llama-index (PyPI) Fixed in 0.13.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Ansible Automation Platform 2
Timeline
- 2026-10-02 Threatist record created from CVE-2025-7707
- 2026-10-03 Alias added: GHSA-rg9h-vx28-xxp5
References
More run-llama Llamaindex vulnerabilities
- TI-2025-01545 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
- TI-2025-01507 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
- TI-2024-11960 SQL Injection to RCE in run-llama/llama_index CVSS 3.1CRITICAL 9.8
- TI-2024-11094 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
- TI-2024-03068 Command Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
- TI-2024-15754 LlamaIndex (aka llama_index) through 0.9.34 allows SQL injection via the Text-to-SQL… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-7707 · CVE Program
- CVE-2025-7707 · NVD
- FIRST EPSS
- GHSA-rg9h-vx28-xxp5 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-7707 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences