Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-7647
September 27, 2025
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.
Affected Packages
llama-index-core (CONDA):
Affected version(s) >=0.10.5 <0.13.0
Fix Suggestion:
Update to version 0.13.0
llama-index-core (PYTHON):
Affected version(s) >=0.9.41 <0.13.0
Fix Suggestion:
Update to version 0.13.0
llama-index-core (PYTHON):
Affected version(s) >=0.9.41 <0.13.0
Fix Suggestion:
Update to version 0.13.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.4
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Creation of Temporary File With Insecure Permissions
EPSS
Base Score:
0.02