llama-index has Insecure Temporary File
High severity
GitHub Reviewed
Published
Oct 13, 2025
to the GitHub Advisory Database
•
Updated Oct 13, 2025
Description
Published by the National Vulnerability Database
Oct 13, 2025
Published to the GitHub Advisory Database
Oct 13, 2025
Reviewed
Oct 13, 2025
Last updated
Oct 13, 2025
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.
References