CVE-2025-7647
Python vulnerability analysis and mitigation

Overview

The llama-index-core package through version 0.12.44 contains a security vulnerability in the get_cache_dir() function that uses a predictable, hardcoded directory path /tmp/llama_index on Linux systems without proper security controls. The vulnerability was discovered and disclosed on September 27, 2025 (NVD).

Technical details

The vulnerability stems from insecure temporary file creation and potential race conditions in the get_cache_dir() function. It is classified under multiple CWE categories including CWE-379, CWE-377, and CWE-367. The CVSS v3.0 base score is 7.3 (High) with the vector string CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L (NVD, Huntr).

Impact

This vulnerability affects Linux deployments where multiple users share the same system. Attackers with local access can potentially steal proprietary models, poison cached embeddings, or conduct symlink attacks (NVD).

Mitigation and workarounds

A fix has been implemented in the llama-index-core repository as evidenced by the commit (Github). Users should upgrade to versions newer than 0.12.44 to mitigate this vulnerability.

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-7647HIGH7.3
  • PythonPython
  • llama-index-core
NoYesSep 27, 2025
CVE-2025-10951MEDIUM6.9
  • PythonPython
  • ml-logger
NoNoSep 25, 2025
CVE-2025-59940MEDIUM6.5
  • PythonPython
  • mkdocs-include-markdown-plugin
NoYesSep 29, 2025
CVE-2025-10952MEDIUM5.5
  • PythonPython
  • ml-logger
NoNoSep 25, 2025
CVE-2025-10950MEDIUM5.3
  • PythonPython
  • ml-logger
NoNoSep 25, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management