Read the docs
TI-2025-06980 Aliases CVE-2025-7647GHSA-cr7q-2w66-hjcm

Insecure Temporary File Handling in run-llama/llama_index

Priority HIGH 65CWE-378Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · Low
Fix status
Partial Red Hat: 1 fixed, 1 without a fix

Attack profile from CVSS 3.0 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

The llama-index-core package, up to version 0.12.44, contains a vulnerability in the `get_cache_dir()` function where a predictable, hardcoded directory path `/tmp/llama_index` is used on Linux systems without proper security controls. This vulnerability allows attackers on multi-user systems to steal proprietary models, poison cached embeddings, or conduct symlink attacks. The issue affects all Linux deployments where multiple users share the same system. The vulnerability is classified under CWE-379, CWE-377, and CWE-367, indicating insecure temporary file creation and potential race conditions.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00149 4th percentileScored 2026-11-07
Fix Partial run-llama/llama_index (run-llama): v0.13.0llama-index-core (PyPI): 0.13.0Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
run-llamarun-llama/llama_indexbefore v0.13.0v0.13.0Patch availableCNA
—llama-index-core (PyPI)before 0.13.00.13.0Patch availableGHSA-cr7q-2w66-hjcm
  • run-llama/llama_index Vendorrun-llama Affected before v0.13.0 Fixed in v0.13.0 Patch available CNA
  • llama-index-core (PyPI) Vendor— Affected before 0.13.0 Fixed in 0.13.0 Patch available GHSA-cr7q-2w66-hjcm

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*——run-llama
  • cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:* Versions — — ·run-llama

Remediation

  • Fix · CNA run-llama/llama_index (run-llama) Fixed in v0.13.0
  • Fix · GHSA-cr7q-2w66-hjcm llama-index-core (PyPI) Fixed in 0.13.0 Advisory →

Red Hat 1 advisory

  • RHSA-2025:18984 Released 2025-10-22 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.5 Container Release Update
    • Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-automation-platform-25/lightspeed-chatbot-rhel8, ansible-automation-platform-25/lightspeed-rhel8

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift LightspeedAffectedNo fix yet
Red Hat Ansible Automation Platform 2.5 for RHEL 8Fixed RHSA-2025:18984
Not affected: 3 products
  • Red Hat Ansible Automation Platform 2
  • Red Hat Ansible Automation Platform 2.5 for RHEL 8
  • Red Hat Ansible Automation Platform 2.5 for RHEL 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-7647
  2. 2026-10-03 Alias added: GHSA-cr7q-2w66-hjcm

References

  • TI-2025-01545 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2025-01507 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-11960 SQL Injection to RCE in run-llama/llama_index CVSS 3.1CRITICAL 9.8
  • TI-2024-11094 SQL Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-03068 Command Injection in run-llama/llama_index CVSS 3.0CRITICAL 9.8
  • TI-2024-02902 Prompt Injection leading to Arbitrary Code Execution in run-llama/llama_index CVSS 3.0CRITICAL 9.8
See all 27 →

Sources