Skip to content
OpenAdvisories
High · 7.1 CVE-2025-7707 EUVD-2025-34071GHSA-rg9h-vx28-xxp5PYSEC-2026-1556

World-Writable NLTK Cache Directory Vulnerability in run-llama/llama_index

Published Oct 13, 2025 · Updated Oct 14, 2025 · Assigned by @huntr_ai

Description

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.

Affected products

VendorProductAffectedFixed
run-llama run-llama/llama_index unspecified – < v0.13.0 v0.13.0

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI llama-index < 0.13.0 0.13.0 GHSA-rg9h-vx28-xxp5

References