PyPI/nltk CVE-2026-71514: low 3.3, EPSS 0.17%
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
Action: Upgrade nltk to 3.10.3 or later.
pip install nltk==3.10.3Affected
| introduced | fixed | last affected |
|---|---|---|
| 3.9.4 | 3.10.3 | - |
Fixed versions
| 3.10.3 |
Sources
- osv: PYSEC-2026-3790
- https://www.vulncheck.com/advisories/nltk-through-path-traversal-via-crubadancorpusreader-pathsec-bypass
- https://github.com/nltk/nltk/blob/v3.10.2/nltk/corpus/reader/crubadan.py#L90-L98
- https://github.com/nltk/nltk/commit/10d34b3f4fe3fec74b76527a409eb0acbac2e8ab
- https://github.com/nltk/nltk
- https://github.com/advisories/GHSA-cv22-g7mw-8v73
CVE-2026-71514 · published · modified · JSON