CVE-2026-71514: nltk Path Traversal
Vulnerability summary
CVE-2026-71514 is a low (CVSS 3.3) Path Traversal vulnerability in nltk. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 22-08-2026PublishedVulnerability first disclosed.
- 24-08-2026Last modifiedVulnerability information updated.
Description
NLTK 3.9.4 through 3.10.2 contains a path traversal vulnerability in CrubadanCorpusReader. _load_lang_ngrams joins the corpus root with crubadan_code, the column-0 value read from the corpus table.txt mapping file, and opens the result with the builtin open() rather than the pathsec-validated opener, so os.path.join discards the root when that value is absolute and the read escapes the corpus directory without the containment check nltk.pathsec applies when ENFORCE is set. An attacker who controls a corpus package can disclose file contents outside the corpus root through lang_freq, limited to paths ending in -3grams.txt whose contents parse as token count lines.
CVSS metrics
10 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated2.0LowCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated2.0LowCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated2.0LowCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- NVDNIST2.0LowCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVE.orgCNA2.5LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · PypiEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated2.5LowCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · DebianEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
+0.01 pp
From 0.16% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard2 products
- nemo< 2.7.3-r27
- open-webui< 0.11.3-r1
Debian1 product
- nltkAll versions (No fix recorded) | < 3.10.3-1
Nltk1 product
- nltk≥ 3.9.4, < 3.10.3 | ≥ 3.9.4, ≤ 3.10.2
PyPI1 product
- nltk≥ 3.9.4, < 3.10.3
Ubuntu1 product
- nltkAll versions (No fix recorded)
Wolfi1 product
- open-webui< 0.11.3-r1
6 vendors · 7 products
References
15 links- github.com/nltk/nltk/blob/v3.10.2/nltk/corpus/reader/crubadan.pyTechnical DescriptionWEBFIXARTICLEPatch
- www.vulncheck.com/advisories/nltk-through-path-traversal-via-crubadancorpusreader-pathsec-bypassThird Party AdvisoryWEBAdvisoryREPORT