NLTK: Symlink escape
Affects nltkSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 3.10.4 soon.
Data as of 13 Nov 2026, 23:33 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
- Patch
- Available – fixed in 3.10.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 13 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 13 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. Users should upgrade to this version or later to resolve the symlink escape vulnerability in YCOECorpusReader. Until upgraded, avoid loading untrusted YCOE corpora or disable pathsec.ENFORCE if appropriate and safe. The vendor advisory confirms the availability of an official fix.
Description
NLTK's YCOECorpusReader allows directory symlinks named 'psd' or 'pos' inside a YCOE corpus to escape the intended corpus root containment. This occurs because the path joining and validation logic does not resolve symlinks properly, enabling nested sub-readers to access files outside the corpus root but within the global NLTK data sandbox. An attacker controlling the corpus contents can exploit this to read files outside the corpus root, but only within the allowed sandbox. The vulnerability affects NLTK versions 3.10.0 through 3.10.3 and is fixed in version 3.10.4.
References
- github.com/nltk/nltk/security/advisories/GHSA-qg35-44qx-7vrr (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-126304 (opens in a new tab)
- github.com/nltk/nltk/pull/3888 (opens in a new tab)
- github.com/nltk/nltk/commit/2c563b13f9dce7c15eefd4b03463e1b69b64f1f3 (opens in a new tab)
- github.com/nltk/nltk/commit/68434c0427f8d296f3adfddb518525038d1f7bfa (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)
- vulncheck.com/advisories/nltk-3.10.0-before-3.10.4-symlink-escape-in-ycoecorpusreader (opens in a new tab)