{"id":"CVE-2025-7707","aliases":["CVE-2025-7707","GHSA-rg9h-vx28-xxp5","PYSEC-2026-1556"],"related":[],"kind":"vulnerability","state":"published","title":"World-Writable NLTK Cache Directory Vulnerability in run-llama/llama_index","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"La biblioteca llama_index versión 0.12.33 establece el directorio de datos de NLTK en un subdirectorio de la base de código por defecto, el cual es de escritura global en entornos multiusuario. Esta configuración permite a los usuarios locales sobrescribir, eliminar o corromper archivos de datos de NLTK, lo que lleva a una potencial denegación de servicio, manipulación de datos o escalada de privilegios. La vulnerabilidad surge del uso de un directorio de caché compartido en lugar de uno específico del usuario, lo que lo hace susceptible a la manipulación local de datos y a la denegación de servicio.","source":"nvd"}],"published":"2025-10-13T16:15:08.249Z","modified":"2026-10-08T12:10:00.217Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-377"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"v0.13.0","status":"affected"}],"vendor":"run-llama","product":"run-llama/llama_index","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.13.0"}],"ecosystem":"PyPI","package":"llama-index","purl":"pkg:pypi/llama-index","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.12.33","fixed":"0.13.0"}],"vendor":"llamaindex","product":"llamaindex","cpe":"cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.13.0"}],"ecosystem":"PyPI","package":"llama-index","purl":"pkg:pypi/llama-index","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/3fe2c8ab-6727-4aef-a0ef-4d2818e48803","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/run-llama/llama_index/commit/98816394d57c7f53f847ed7b60725e69d0e7aae4","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7707","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/llama-index","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-rg9h-vx28-xxp5","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-14T14:32:21.586Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-7707","url":"https://www.cve.org/CVERecord?id=CVE-2025-7707","licence":"CVE Terms of Use","modified":"2025-10-14T14:32:42.854Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rg9h-vx28-xxp5","url":"https://github.com/advisories/GHSA-rg9h-vx28-xxp5","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:24.887Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-7707","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-7707","licence":"Public domain","modified":"2026-10-08T12:10:00.217Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1556","url":"https://osv.dev/vulnerability/PYSEC-2026-1556","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:54.141Z"}],"updatedAt":"2026-11-25T22:59:05.915Z","epss":{"score":0.0019,"percentile":0.09124,"date":"2026-12-01T12:00:22.000Z"}}