{"id":"CVE-2025-7707","published":"2025-10-13T16:15:08Z","modified":"2025-10-14T14:32:42Z","title":"World-Writable NLTK Cache Directory Vulnerability in run-llama/llama_index","vendor":"run-llama","product":"run-llama/llama_index","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0019,"percentile":0.08876,"provenance":"source"},"cwes":[{"id":"CWE-377","name":"Insecure Temporary File"}],"references":[{"url":"https://huntr.com/bounties/3fe2c8ab-6727-4aef-a0ef-4d2818e48803","tags":[]},{"url":"https://github.com/run-llama/llama_index/commit/98816394d57c7f53f847ed7b60725e69d0e7aae4","tags":[]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":1.78},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"run-llama","affectedVersions":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[">= unspecified, < v0.13.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-14T14:32:21.586813Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"llama-index","vulnerableRanges":["<0.13.0"],"patched":["0.13.0"],"from":["GHSA-rg9h-vx28-xxp5","PYSEC-2026-1556"],"provenance":"source"}],"summary":{"text":"The World-Writable NLTK Cache Directory flaw in the run-llama/llama_index library sets the NLTK data directory by default to a subdirectory of the codebase that is world-writable in multi-user environments. An attacker with local access and low privileges, acting without any user interaction, can overwrite, delete, or corrupt the NLTK data files, which can lead to denial of service or data tampering.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:25Z"},"euvd":{"id":"EUVD-2025-34071","exploited":false,"provenance":"source"}}