NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReader
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 13, 2026
- Updated
- Nov 18, 2026
- Reserved
- Nov 10, 2026
Description
NLTK from 3.10.0 before 3.10.4 contains a symlink escape vulnerability in YCOECorpusReader that allows attackers to read files outside the corpus root by planting psd or pos directory symlinks. Attackers controlling a YCOE corpus can make parsed_sents() and tagged_words() return file content from other corpora or temporary files within the NLTK data sandbox.
| Product | Versions |
|---|---|
| nltk nltk | 3.10.0 to before 3.10.4 Affected3.10.4 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
- GitHub Security Advisory (GHSA-qg35-44qx-7vrr)Vendor Advisory
- VulnCheck Advisory: NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReaderThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.