Skip to main content
CVE-2025-7707VulnerabilityPublished

CVE-2025-7707: run-llama/llama_index · Insecure Temporary File

Affects run-llama/llama_indexSource CVE Database V5

0

Not known to be exploited · CVSS 7.1 High.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
run-llama run-llama/llama_indexAffected
  • =0.12.33
Fixed in–

AI-suggested

To mitigate CVE-2025-7707, organizations should immediately audit their use of the run-llama/llama_index library in multi-user environments. They should configure the NLTK data directory to use user-specific cache directories rather than a shared, world-writable location. This can be done by setting environment variables or modifying the library configuration to point to a secure, per-user path. File system permissions on the NLTK data directories must be restricted to prevent unauthorized write access, ensuring only the intended user or service account has write privileges. Monitoring file integrity of NLTK data files can help detect tampering attempts. Organizations should also isolate environments where the library runs, limiting local user access to trusted personnel only. Until an official patch is released, consider containerizing or sandboxing the application to reduce the attack surface. Finally, maintain awareness of vendor updates and apply patches promptly once available.

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.

References

Community reviews

Loading reviews…