Skip to content
Fencer Vulns
high 7.3

CVE-2025-7647 json

Insecure Temporary File Handling in run-llama/llama_index

published 2025-09-27 13 mo ago modified 2026-10-09 30 d ago also GHSA-cr7q-2w66-hjcm , PYSEC-2026-1562 , EUVD-2025-31429

cvss
7.3
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 4%
public exploits
0
none known

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.

Patch / fix

  • pypi llama-index-core 0.13.0
  • run-llama run-llama/llama_index v0.13.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-7647 updated cvss 8.4

llama-index-core: Insecure Temporary File Handling in run-llama/llama_index

  • Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-service-api-rhel9, openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9
    affected: no fix available
  • Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-automation-platform-25/lightspeed-chatbot-rhel8 2.5.250924-3
    fixed: vendor fix RHSA-2025:18984
  • Red Hat Ansible Automation Platform 2 ansible-automation-platform/ee-minimal-rhel8, ansible-automation-platform/ee-minimal-rhel9, ansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, +18 more Red Hat Ansible Automation Platform 2.5 for RHEL 8 ansible-automation-platform-25/hub-rhel8 4.10.9-1, ansible-automation-platform-25/hub-web-rhel8 4.10.9-1, ansible-automation-platform-25/receptor-rhel8 1.6.0-1, ansible-automation-platform-25/de-minimal-rhel8 1.1.7-14, ansible-automation-platform-25/controller-rhel8 4.6.21-13, ansible-automation-platform-25/ee-minimal-rhel8 1.0.0-982, +26 more Red Hat Ansible Automation Platform 2.5 for RHEL 9 ansible-automation-platform-25/de-minimal-rhel9 1.1.7-15, ansible-automation-platform-25/ee-minimal-rhel9 1.0.0-983, ansible-automation-platform-25/de-supported-rhel9 1.1.7-13, ansible-automation-platform-25/ee-supported-rhel9 1.0.0-1108, ansible-automation-platform-25/ansible-builder-rhel9 3.1.0-260, ansible-automation-platform-25/ee-cloud-services-rhel9 1.0.0-316, +2 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
13 mo ago

Exploit prediction

0.15% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 7.3 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
OSV 3.0 7.3 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
GitHub 3.0 7.3 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Affected packages

ecosystem package affected fixed in
pypi llama-index-core
<0.13.0
0.13.0

Affected products

  • run-llama run-llama/llama_index

Classification

Weakness
  • CWE-378 Creation of Temporary File With Insecure Permissions

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.