# CVE-2026-128135: NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/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): 0.22%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-19T17:59:30.722Z
- Modified: 2026-11-24T04:17:22.063Z
- Also known as: GHSA-wr3g-j6qj-xpgh
- Weaknesses: CWE-59, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.9.4 to 3.10.3, NLTK ZIP package extraction can write through an existing in-root hardlink whose other link points outside the NLTK data root. A local attacker who can prepare the extraction target can cause a package member write to overwrite an out-of-root file, violating the pathsec containment boundary and affecting integrity and availability. This issues is fixed in version 3.10.4.

(As written by CVE List.)

## Affected

- nltk nltk: >= 3.9.4, < 3.10.4
- nltk (PyPI): from 3.9.4 before 3.10.4

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh> (exploit, web)
- <https://github.com/nltk/nltk/pull/3753> (web)
- <https://github.com/nltk/nltk/commit/0e9898b7615b4ab3b023e868212316a489ece4f0> (web)
- <https://github.com/nltk/nltk/commit/cf12a5e6a439fe1d722acd53d4309911faaaaf78> (web)
- <https://github.com/nltk/nltk/releases/tag/v3.10.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-128135> (advisory)
- <https://github.com/nltk/nltk> (package)

## Sources

- CVE List: [CVE-2026-128135](https://www.cve.org/CVERecord?id=CVE-2026-128135), CVE Terms of Use, modified 2026-11-24
- GitHub Advisory Database: [GHSA-wr3g-j6qj-xpgh](https://github.com/advisories/GHSA-wr3g-j6qj-xpgh), CC-BY-4.0, modified 2026-11-20
- NVD: [CVE-2026-128135](https://nvd.nist.gov/vuln/detail/CVE-2026-128135), Public domain, modified 2026-11-24

---

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