CVE-2026-70626
HIGH 8.6CVSS 4.0NLTK: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus root
NLTK versions before 3.9.4 contain a symlink escape vulnerability in CorpusReader.open() that allows local attackers to read arbitrary files outside the corpus root. The vulnerability exists because path validation is lexical and does not account for symlink resolution, enabling attackers to place symlinks inside the corpus root to access files outside the intended boundary.
- Published
- 22 Aug 2026
- Last modified
- 14 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-59
- Also known as
- GHSA-r6gq-whwq-mvg9PYSEC-2026-3732
- Sources
- NVDJSONOSV GHSA-r6gq-whwq-mvg9JSONOSV PYSEC-2026-3732JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.6 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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 | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nltk | nltkcpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:* |
< 3.9.4 | 3.9.4 |
| OSV | PyPI | nltk | < 3.9.4 | 3.9.4 |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-r6gq-whwq-mvg9 · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://www.vulncheck.com/advisories/nltk-before-symlink-escape-via-corpusreader · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-70626 · ADVISORY
- https://github.com/nltk/nltk/pull/3522 · WEB
- https://github.com/nltk/nltk/commit/1b0e519e2324bc1a273d56edee63e44d0ad85b48 · WEB
- https://github.com/nltk/nltk · PACKAGE
- https://github.com/nltk/nltk/releases/tag/3.9.4 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3732.yaml · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 22 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Sep 2026)