CVE-2025-7707 json
World-Writable NLTK Cache Directory Vulnerability in run-llama/llama_index
published last yr. modified last mo. also GHSA-rg9h-vx28-xxp5 , PYSEC-2026-1556 , EUVD-2025-34071
- cvss
- 7.1
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi llama-index 0.13.0
- run-llama run-llama/llama_index v0.13.0
Is CVE-2025-7707 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-7707 updated cvss 6.1
llama-index: World-Writable Cache Directory Vulnerability in llama_index
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform/ee-minimal-rhel8, ansible-automation-platform/ee-minimal-rhel9, ansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, +26 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- huntr.com https://huntr.com/bounties/3fe2c8ab-6727-4aef-a0ef-4d2818e48803 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.1 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.0 | 7.1 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| OSV | 3.0 | 7.1 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | llama-index | <0.13.0 |
0.13.0 |
Affected products
- run-llama run-llama/llama_index
Classification
- Weakness
-
- CWE-377 DEPRECATED: Insecure Temporary File
References
-
github.com
/run-llama/llama_index/commit/98816394d57c7f53f847ed7b60725e69d0e7aae4
web, patch
-
huntr.com
/bounties/3fe2c8ab-6727-4aef-a0ef-4d2818e48803
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-7707
advisory
-
github.com
/run-llama/llama_index
package
-
pypi.org
/project/llama-index
package
-
github.com
/advisories/GHSA-rg9h-vx28-xxp5
advisory
Sources
- CVE List CVE-2025-7707
- GitHub Advisory GHSA-rg9h-vx28-xxp5
- NVD CVE-2025-7707
- OSV PYSEC-2026-1556
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.