# CVE-2025-14009: Zip Slip Vulnerability in nltk/nltk Leading to Remote Code Execution

- Severity: High 8.8 (CVSS:3.1, scored by redhat-SADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.40%, higher than 73% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-18T17:45:17.573Z
- Modified: 2026-09-10T03:50:34.416Z
- Also known as: GHSA-7p94-766c-hgjp, PYSEC-2026-96
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## Description

A critical vulnerability exists in the NLTK downloader component of nltk/nltk, affecting all versions. The _unzip_iter function in nltk/downloader.py uses zipfile.extractall() without performing path validation or security checks. This allows attackers to craft malicious zip packages that, when downloaded and extracted by NLTK, can execute arbitrary code. The vulnerability arises because NLTK assumes all downloaded packages are trusted and extracts them without validation. If a malicious package contains Python files, such as __init__.py, these files are executed automatically upon import, leading to remote code execution. This issue can result in full system compromise, including file system access, network access, and potential persistence mechanisms.

(As written by CVE List.)

## Affected

- nltk nltk/nltk: from unspecified up to latest
- rhoai/odh-llama-stack-core-rhel9: no versions given (not affected: from 1775144403 before *)
- rhoai/odh-ta-lmes-job-rhel9: no versions given (not affected: from 1776271296 before *)
- openshift-lightspeed/lightspeed-ocp-rag-rhel9: no versions given
- openshift-lightspeed/lightspeed-service-api-rhel9: no versions given
- openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9: no versions given
- rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9: no versions given
- nltk (PyPI): before 3.9.3
- nltk nltk: before 3.9.3

## Every score

- @huntr_ai: CVSS:3.0 10.0 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 10.0 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.0 10.0 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/49ecbc02-054e-4470-b2e0-b267936cc4e4> (exploit, evidence, third-party-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2025-14009> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2440724> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14009.json>
- <https://access.redhat.com/errata/RHSA-2026:10184> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-14009> (advisory)
- <https://github.com/nltk/nltk/pull/3468> (web)
- <https://github.com/nltk/nltk/commit/1056b323af6462455571302e766b67cf300aea18> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/nltk/nltk/blob/4154eb85e832f266660a09286c7e37e308292284/ChangeLog#L1> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-96.yaml> (web)
- <https://github.com/advisories/GHSA-7p94-766c-hgjp> (advisory)

## Sources

- CVE List: [CVE-2025-14009](https://www.cve.org/CVERecord?id=CVE-2025-14009), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-7p94-766c-hgjp](https://github.com/advisories/GHSA-7p94-766c-hgjp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-14009](https://nvd.nist.gov/vuln/detail/CVE-2025-14009), Public domain, modified 2026-07-15
- PyPA Advisory Database: [PYSEC-2026-96](https://osv.dev/vulnerability/PYSEC-2026-96), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2025-14009 · Whole record: https://cve.day/CVE-2025-14009.json · Rebuilt by cve.day 2026-11-25T22:59:11.287Z
