CVE-2025-7707
CVE-2025-7707 is a high-severity vulnerability in Llamaindex with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-377.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- EPSS exploit prediction: 0% (6th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-34071
- Weakness: CWE-377
- Affected product: Llamaindex
- Published:
- Last modified:
Description
The llama_index library version 0.12.33 sets the NLTK data directory to a subdirectory of the codebase by default, which is world-writable in multi-user environments. This configuration allows local users to overwrite, delete, or corrupt NLTK data files, leading to potential denial of service, data tampering, or privilege escalation. The vulnerability arises from the use of a shared cache directory instead of a user-specific one, making it susceptible to local data tampering and denial of service.
Frequently asked questions
- What is CVE-2025-7707?
- The llama_index library version 0.12.33 sets the NLTK data directory to a subdirectory of the codebase by default, which is world-writable in multi-user environments. This configuration allows local users to overwrite, delete, or corrupt NLTK data files, leading to potential denial of service, data tampering, or privilege escalation. The vulnerability arises from the use of a shared cache directory instead of a user-specific one, making it susceptible to local data tampering and denial of service.
- How severe is CVE-2025-7707?
- CVE-2025-7707 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-7707 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (6th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-7707?
- CVE-2025-7707 affects Llamaindex. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-7707?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-7707 have an EU (EUVD) identifier?
- Yes. CVE-2025-7707 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-34071.
- When was CVE-2025-7707 published?
- CVE-2025-7707 was published on 2025-10-13 and last updated on 2026-06-17.
References
- https://github.com/run-llama/llama_index/commit/98816394d57c7f53f847ed7b60725e69d0e7aae4
- https://huntr.com/bounties/3fe2c8ab-6727-4aef-a0ef-4d2818e48803
Affected products (1)
- cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
More vulnerabilities in Llamaindex
- CVE-2025-1793 — Critical (CVSS 9.8): Multiple vector store integrations in run-llama/llama_index version v0.12.21 have SQL injection vulnerabilities. These…
- CVE-2025-1750 — Critical (CVSS 9.8): An SQL injection vulnerability exists in the delete function of DuckDBVectorStore in run-llama/llama_index version…
- CVE-2024-12909 — Critical (CVSS 9.8): A vulnerability in the FinanceChatLlamaPack of the run-llama/llama_index repository, versions up to v0.12.3, allows for…
- CVE-2024-11958 — Critical (CVSS 9.8): A SQL injection vulnerability exists in the `duckdb_retriever` component of the run-llama/llama_index repository,…
- CVE-2024-3271 — Critical (CVSS 9.8): A command injection vulnerability exists in the run-llama/llama_index repository, specifically within the safe_eval…
- CVE-2024-23751 — Critical (CVSS 9.8): LlamaIndex (aka llama_index) through 0.9.34 allows SQL injection via the Text-to-SQL feature in NLSQLTableQueryEngine,…
All CVEs affecting Llamaindex →
Other CWE-377 (Insecure Temporary File) vulnerabilities
- CVE-2011-4119 — Critical (CVSS 9.8): caml-light <= 0.75 uses mktemp() insecurely, and also does unsafe things in /tmp during make install.
- CVE-2012-2666 — Critical (CVSS 9.8): golang/go in 1.0.2 fixes all.bash on shared machines. dotest() in src/pkg/debug/gosym/pclntab_test.go creates a…
- CVE-2015-5224 — Critical (CVSS 9.8): The mkostemp function in login-utils in util-linux when used incorrectly allows remote attackers to cause file name…
- CVE-2025-14307 — High (CVSS 8.1): An insecure temporary file creation vulnerability exists in the AutoExtract component of Robocode version 1.9.3.6. The…
- CVE-2023-43498 — High (CVSS 8.1): In Jenkins 2.423 and earlier, LTS 2.414.1 and earlier, processing file uploads using MultipartFormDataParser creates…
- CVE-2025-46369 — High (CVSS 7.8): Dell Alienware Command Center 6.x (AWCC), versions prior to 6.10.15.0, contains an Insecure Temporary File…
Browse all CWE-377 (Insecure Temporary File) vulnerabilities →