Security Resilience

CVE-2025-7707

Llamaindex 0.12.33 – 0.13.0

Public PoC
Published
13 October 2025
Modified
08 October 2026
Patch / advisory
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0019 9th percentile
Risk Priority 55 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-7707 is a high-severity Insecure Temporary File (CWE-377) vulnerability in Llamaindex. Its CVSS base score is 7.8 (High).

Operationally, ranked at the 9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as NLP and Transformers; in the Data-Related Vulnerabilities risk domain.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
NLP and Transformers
Risk Domain
Data-Related Vulnerabilities
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: nltk

Related Threats

CVEs Like This One

CVE-2024-58339Same product: Llamaindex Llamaindex
CVE-2024-12911Same product: Llamaindex Llamaindex
CVE-2024-12704Same product: Llamaindex Llamaindex
CVE-2025-6211Same product: Llamaindex Llamaindex
CVE-2025-3044Same product: Llamaindex Llamaindex
CVE-2024-14021Same product: Llamaindex Llamaindex
CVE-2024-4181Same product: Llamaindex Llamaindex
CVE-2024-11958Same product: Llamaindex Llamaindex
CVE-2025-5472Same product: Llamaindex Llamaindex
CVE-2024-45201Same product: Llamaindex Llamaindex

Affected Assets

llamaindex
llamaindex
0.12.33 — 0.13.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-3 enforces file-system access authorizations so that temporary files cannot be read or modified by unauthorized processes.

AC-6 reduces the privileges available to processes that create or access temporary files, limiting blast radius if a file is predictable or left readable.

SC-4 directly stops unauthorized information leakage through shared resources such as world-writable temporary directories.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect insecure temporary files but does not prevent their creation.

prevents

Secure coding standards explicitly require safe temporary-file APIs and permissions.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-377, a class-level weakness. Rules are authored against its narrower children: CWE-379.

References