CVE-2026-128137: NLTK corpus-reader view methods bypass the scoped root sandbox via intermediate-directory symlinks
Affects nltkSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium : upgrade to 3.10.4 when convenient.
Data as of 20 Nov 2026, 01:51 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.5 |
|---|
- Patch
- Available – fixed in 3.10.4
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade nltk to 3.10.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPInltk | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in NLTK version 3.10.4 that corrects the path validation logic for the view methods to enforce the scoped root sandbox properly. Users should upgrade to version 3.10.4 or later.
Description
NLTK versions from 3.9.4 up to but not including 3.10.4 contain a vulnerability in the CorpusReader view methods where intermediate-directory symlinks inside the corpus root can bypass scoped root sandbox protections. This allows reading files outside the intended corpus root but within the global allowed roots, defeating intended path validation. The issue arises because view methods use a different file access path that does not enforce the scoped root check, allowing symlink traversal. The vulnerability is fixed in version 3.10.4.
References
- github.com/nltk/nltk/security/advisories/GHSA-g58v-j9g9-5gfg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-128137 (opens in a new tab)
- github.com/nltk/nltk/pull/3761 (opens in a new tab)
- github.com/nltk/nltk/commit/9f7cf06b4af4ca5c65381ed0abc17e989dc54400 (opens in a new tab)
- github.com/nltk/nltk (opens in a new tab)
- github.com/nltk/nltk/releases/tag/v3.10.4 (opens in a new tab)