CVE Explorer
CVE-2025-7647
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 C
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"run-llama/llama_index","vendor":"run-llama","versions":[{"lessThan":"v0.13.0","status":"affected","version":"unspecified","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:840784e17631e327f7df3c9e3adade2788ba54dc8a3afcd45934591e03bfa2ba · sha256:3cfb4cb1f8972736… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","version":"3.0"},"metric_type":"cvssV3_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:840784e17631e327f7df3c9e3adade2788ba54dc8a3afcd45934591e03bfa2ba · sha256:3cfb4cb1f8972736… · /containers/cna/metrics/0/cvssV3_0
CWE assertions
1 source assertion{"cweId":"CWE-378","description":"CWE-378 Creation of Temporary File With Insecure Permissions","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:840784e17631e327f7df3c9e3adade2788ba54dc8a3afcd45934591e03bfa2ba · sha256:3cfb4cb1f8972736… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://github.com/run-llama/llama_index/commit/98816394d57c7f53f847ed7b60725e69d0e7aae4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:840784e17631e327f7df3c9e3adade2788ba54dc8a3afcd45934591e03bfa2ba · sha256:3cfb4cb1f8972736… · /containers/cna/references/1
{"url":"https://huntr.com/bounties/a2baa08f-98bf-47a8-ac83-06f7411afd9e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:840784e17631e327f7df3c9e3adade2788ba54dc8a3afcd45934591e03bfa2ba · sha256:3cfb4cb1f8972736… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.