CVEvulnerability
CVE-2026-70626
8.6 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2026-08-22
- Last modified
- 2026-10-14
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 8.6 HIGH — 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
- CVSS 3.1 ([email protected])
- 6.2 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-59
Description
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.
Affected configurations
• nltk nltk (< 3.9.4)
Related
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- https://github.com/nltk/nltk/security/advisories/GHSA-r6gq-whwq-mvg9 Exploit, Vendor Advisory
- https://www.vulncheck.com/advisories/nltk-before-symlink-escape-via-corpusreader Vendor Advisory
- https://github.com/nltk/nltk/security/advisories/GHSA-r6gq-whwq-mvg9 Exploit, Vendor Advisory