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.

Scoring

Severity
HIGH
CVSS base score
7.1
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS probability
0.17%
CWE
CWE-377
Published
2025-10-13
Last modified
2026-03-12

Affected products

Weakness type

Related vulnerabilities

Markdown version · Browse all CVEs