# CVE-2026-128137: NLTK corpus-reader view methods bypass the scoped root sandbox via intermediate-directory symlinks

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- 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 13% of CVEs (2026-12-01)
- Published: 2026-11-19T18:02:15.149Z
- Modified: 2026-11-20T00:15:06.485Z
- Also known as: GHSA-g58v-j9g9-5gfg
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, 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 until 3.10.4, NLTK corpus-reader path pointers and view methods validate a requested relative path without consistently resolving intermediate directory symlinks against the reader's scoped root. A local attacker who can place such a symlink can make abspaths or words reach a readable file outside the corpus root and disclose its contents. On releases with pathsec enforcement, the file must remain inside a global NLTK allowed root; version 3.9.4 has enforcement disabled and permits a broader escape. This issue 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 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-g58v-j9g9-5gfg> (web)
- <https://github.com/nltk/nltk/pull/3761> (web)
- <https://github.com/nltk/nltk/commit/9f7cf06b4af4ca5c65381ed0abc17e989dc54400> (web)
- <https://github.com/nltk/nltk/releases/tag/v3.10.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-128137> (advisory)
- <https://github.com/nltk/nltk> (package)

## Sources

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

---

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