CVE-2026-71514
Reported by VulnCheck · Published August 22, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| nltk | nltk | 3.9.4, 3.10.3 |
| chainguard | open-webui | 0 |
| wolfi | open-webui | 0 |
| chainguard | nemo | 0 |
| PyPI | nltk | 3.9.4 |
| nltk | nltk | 3.9.4, 3.10.3 |
Timeline
- Aug 22, 2026 CVE Published
- Aug 22, 2026 Coalition ESS Score
- Aug 23, 2026 EPSS Score
- Aug 24, 2026 EPSS Score
- Sep 3, 2026 EPSS Score
- Sep 3, 2026 Security Advisory
- Sep 16, 2026 EPSS Score
- Oct 2, 2026 EPSS Score
- Oct 13, 2026 EPSS Score
- Oct 14, 2026 CVE Updated
- Oct 20, 2026 EPSS Score
- Oct 25, 2026 EPSS Score
References
- Patch Commit patch
- product
- technical-description
- VulnCheck Advisory: NLTK 3.9.4 through 3.10.2 Path Traversal via CrubadanCorpusReader pathsec Bypass third-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-71514 advisory
- https://github.com/advisories/GHSA-cv22-g7mw-8v73 advisory
- https://github.com/nltk/nltk/releases/tag/v3.10.3 url