CVE-2025-7647 Details
Description
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.
A vulnerability exists in the llama-index-core package, specifically in version 0.12.44 and prior, within the get_cache_dir() function. The issue arises from a predictable, hardcoded directory path /tmp/llama_index, used on Linux systems without adequate security measures. This flaw enables attackers on multi-user systems to steal proprietary models, contaminate cached embeddings, or perform symlink attacks. The vulnerability impacts all Linux environments where multiple users share the same system.
Users can update to llama-index-core version 0.13.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 27, 2025CISA-ADP
Assessed Sep 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/run-llama/llama_index/commit/98816394d57c7f53f847ed7b60725e69d0e7aae4 | [email protected] | Source CodeVendor |
| https://huntr.com/bounties/a2baa08f-98bf-47a8-ac83-06f7411afd9e | [email protected] | Technical DescriptionExploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-378 | Creation of Temporary File With Insecure Permissions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| run-llama llama-index-core | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 9, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 27, 2025 | New CVE Received | [email protected] |
Volerion