CVE-2025-7707
LlamaIndex vulnerability analysis and mitigation

Overview

The llama_index library version 0.12.33 contains a security vulnerability identified as CVE-2025-7707. The vulnerability stems from the library's default configuration which sets the NLTK data directory to a subdirectory of the codebase that is world-writable in multi-user environments. This vulnerability was discovered and disclosed on October 13, 2025, affecting all installations of llama_index version 0.12.33 (NVD).

Technical details

The vulnerability arises from the use of a shared cache directory instead of a user-specific one for NLTK data storage. The CVSS v3.1 base score is 7.8 (High), with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. This indicates a local attack vector with low attack complexity, requiring low privileges and no user interaction. The vulnerability has been classified under CWE-377 (Insecure Temporary File) (NVD, AttackerKB).

Impact

The vulnerability allows local users to overwrite, delete, or corrupt NLTK data files, potentially leading to denial of service, data tampering, or privilege escalation in multi-user environments. The impact scores indicate high severity across confidentiality, integrity, and availability (NVD).

Exploitability

The vulnerability is exploitable by local users with low privileges. No user interaction is required for exploitation, and the attack complexity is considered low. The vulnerability has been documented with proof-of-concept code available (Huntr).

Mitigation and workarounds

A patch has been released in version 0.13.0 of llama_index that addresses this vulnerability. Users are advised to upgrade to this version or later. The fix involves changing the NLTK data directory configuration to use user-specific paths (Github Patch).

Additional resources


SourceThis report was generated using AI

Related LlamaIndex vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-58339HIGH8.7
  • LlamaIndex logoLlamaIndex
  • llama-index
NoYesJan 12, 2026
CVE-2024-14021HIGH8.4
  • LlamaIndex logoLlamaIndex
  • llama-index
NoYesJan 12, 2026
CVE-2025-7707HIGH7.8
  • LlamaIndex logoLlamaIndex
  • llama-index
NoYesOct 13, 2025
CVE-2025-6209HIGH7.5
  • Python logoPython
  • llama-index
NoYesJul 07, 2025
CVE-2025-6211MEDIUM6.5
  • Python logoPython
  • nemo
NoYesJul 10, 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