Insecure Temporary File Affecting llama-index-core package, versions [,0.12.50)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insecure Temporary File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LLAMAINDEXCORE-13541614
  • published14 Oct 2025
  • disclosed13 Oct 2025
  • creditmadan301

Introduced: 13 Oct 2025

NewCVE-2025-7707  (opens in a new tab)
CWE-377  (opens in a new tab)

How to fix?

Upgrade llama-index-core to version 0.12.50 or higher.

Overview

llama-index-core is an Interface between LLMs and your data

Affected versions of this package are vulnerable to Insecure Temporary File due to setting the NLTK data directory to a shared, world-writable subdirectory. An attacker can overwrite, delete, or corrupt data files by exploiting the shared cache directory in a multi-user environment.

CVSS Base Scores

version 4.0
version 3.1