{"id":"CVE-2025-7647","published":"2025-09-27T16:34:36Z","modified":"2025-09-29T19:26:26Z","title":"Insecure Temporary File Handling in run-llama/llama_index","vendor":"run-llama","product":"run-llama/llama_index","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00149,"percentile":0.04189,"provenance":"source"},"cwes":[{"id":"CWE-378","name":"Creation of Temporary File With Insecure Permissions"}],"references":[{"url":"https://huntr.com/bounties/a2baa08f-98bf-47a8-ac83-06f7411afd9e","tags":[]},{"url":"https://github.com/run-llama/llama_index/commit/98816394d57c7f53f847ed7b60725e69d0e7aae4","tags":[]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":0.84},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"run-llama","affectedVersions":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[">= unspecified, < v0.13.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-09-29T19:26:13.766845Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"llama-index-core","vulnerableRanges":["<0.13.0"],"patched":["0.13.0"],"from":["GHSA-cr7q-2w66-hjcm","PYSEC-2026-1562"],"provenance":"source"}],"summary":{"text":"The llama-index-core package in run-llama/llama_index, up to version 0.12.44, uses a predictable, hardcoded temporary directory (/tmp/llama_index) in its get_cache_dir() function on Linux systems, without proper security controls. An attacker with local access on a multi-user Linux system where the package is deployed could steal proprietary models, poison cached embeddings, or carry out symlink attacks, provided they have low-privilege local access and no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:14Z"},"euvd":{"id":"EUVD-2025-31429","exploited":false,"provenance":"source"}}