CVE-2025-7707 HIGH

CVE-2025-7707: World-Writable NLTK Cache Directory Vulnerability in run-llama/llama_index

Vendor Run-Llama
Product run-llama/llama_index
Weakness CWE-377
Published October 13, 2025
Last update October 14, 2025

CVSS base score

7.1/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

October 13, 2025 CVE published
October 14, 2025 Record updated