CVE-2025-7647run-llama/llama_index
High 7.3
Follow: this CVE · run-llama · run-llama/llama_index We alert you by email or Slack (account required).
- Priority
- 44
- CVSS 3.0
- 7.3
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 27, 2025
- Updated
- Oct 9, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-378
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
What happens
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.
What to do
- Apply the vendor's security update for run-llama/llama_index.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | llama-index-core |
< 0.13.0 |
0.13.0 |
pip install "llama-index-core>=0.13.0" |
| PyPI | llama-index-core |
< 0.13.0 |
0.13.0 |
pip install "llama-index-core>=0.13.0" |
Per OSV / GitHub Advisories (GHSA-cr7q-2w66-hjcm, PYSEC-2026-1562). Check the version in your lockfile before upgrading.
Affected products
- run-llama · run-llama/llama_index
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.