Advisory

PYSEC-2026-1556

Also known as: CVE-2025-7707, GHSA-rg9h-vx28-xxp5

Summary

llama-index has Insecure Temporary File

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.

Severity

High Basis: CVSS v3 score 7.1, vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

llama-index

PyPI · All systems

Affected

  • introduced 0, fixed 0.13.0 (ecosystem)

Fixed versions

0.13.0

Fix

  • Fixed version 0.13.0
    pip install --upgrade llama-index==0.13.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences