VDB
Sign up
HIGH7.1

PYSEC-2026-1556

llama-index has Insecure Temporary File

Quick fix

PYSEC-2026-1556 — llama-index: upgrade to the fixed version with the command below.

pip install --upgrade 'llama-index>=0.13.0'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/llama-index
Introduced in: 0Fixed in: 0.13.0
Fixpip install --upgrade 'llama-index>=0.13.0'

References