CVE-2026-71514: NLTK 3.9.4 through 3.10.2 contains a path traversal vulnerability in CrubadanCorpusReader
Affects nltkSource GCVE Database
Not known to be exploited · CVSS 3.3 Low : update nltk when convenient.
Data as of 24 Nov 2026, 21:08 UTC
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Aug 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 23 Nov 2026.
What to do
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10nltkpkg:deb/ubuntu/nltk?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu Pro 26.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSnltkpkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/bionicOther threats | 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 patch is available as referenced in the Debian security tracker advisory. Users should apply the official fix to NLTK versions 3.9.4 through 3.10.2 to remediate this path traversal vulnerability. No alternative mitigations are indicated by the vendor advisory.
Description
NLTK versions 3.9.4 through 3.10.2 contain a path traversal vulnerability in the CrubadanCorpusReader component. This flaw allows an attacker controlling a corpus package to read files outside the intended corpus directory if the file path ends with '-3grams.txt' and contains token count lines. The vulnerability arises because the code uses a standard open() call without proper path containment checks, enabling escape from the corpus root directory.
References
- ubuntu.com/security/CVE-2026-71514 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-71514 (opens in a new tab)
- github.com/nltk/nltk/commit/10d34b3f4fe3fec74b76527a409eb0acbac2e8ab (opens in a new tab)
- security-tracker.debian.org/tracker/cve-2026-71514 (opens in a new tab)
- github.com/cveproject/cvelistv5/tree/main/cves/2026/71xxx/cve-2026-71514.json (opens in a new tab)
- github.com/nltk/nltk (opens in a new tab)
- github.com/nltk/nltk/blob/v3.10.2/nltk/corpus/reader/crubadan.py (opens in a new tab)
- nvd.nist.gov/vuln/detail/cve-2026-71514 (opens in a new tab)
- vulncheck.com/advisories/nltk-through-path-traversal-via-crubadancorpusreader-pathsec-bypass (opens in a new tab)