{"cve":"CVE-2025-7647","nvd":{"published":"2025-09-27T17:15:33.833","modified":"2026-10-09T10:10:00.193","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":7.3},"cwes":["CWE-378"],"references":["https://github.com/run-llama/llama_index/commit/98816394d57c7f53f847ed7b60725e69d0e7aae4","https://huntr.com/bounties/a2baa08f-98bf-47a8-ac83-06f7411afd9e"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:10:08.713834912+00:00"},"epss":{"cve":"CVE-2025-7647","score":0.0015,"percentile":0.04133,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-cr7q-2w66-hjcm","url":"https://osv.dev/vulnerability/GHSA-cr7q-2w66-hjcm","summary":"llama-index-core insecurely handles temporary files","modified":"2026-09-10T03:50:28.289661002Z","packages":[{"ecosystem":"PyPI","name":"llama-index-core","purl":"pkg:pypi/llama-index-core","ranges":["<0.13.0"],"fixed":["0.13.0"]}]},{"id":"PYSEC-2026-1562","url":"https://osv.dev/vulnerability/PYSEC-2026-1562","summary":"llama-index-core insecurely handles temporary files","modified":"2026-07-07T17:46:15.164061580Z","packages":[{"ecosystem":"PyPI","name":"llama-index-core","purl":"pkg:pypi/llama-index-core","ranges":["<0.13.0"],"fixed":["0.13.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}