Bug 2399917 (CVE-2025-7647) - CVE-2025-7647 llama-index-core: Insecure Temporary File Handling in run-llama/llama_index
Summary: CVE-2025-7647 llama-index-core: Insecure Temporary File Handling in run-llama...
Keywords:
Status: NEW
Alias: CVE-2025-7647
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-27 17:01 UTC by OSIDB Bzimport
Modified: 2025-10-22 16:41 UTC (History)
31 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:18984 0 None None None 2025-10-22 16:41:38 UTC

Description OSIDB Bzimport 2025-09-27 17:01:15 UTC
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.

Comment 2 errata-xmlrpc 2025-10-22 16:41:35 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.5 for RHEL 8
  Red Hat Ansible Automation Platform 2.5 for RHEL 9

Via RHSA-2025:18984 https://access.redhat.com/errata/RHSA-2025:18984


Note You need to log in before you can comment on or make changes to this bug.