CVE-2026-126304 NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReader
HighCVSS 8.7
EPSS 0.62%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Debian
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.
Upgrade path
4 packages: 2 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux python-nltk(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| debian/nltk(Debian 14) | = 3.9.1-2; = 3.9.2-1; = 3.9.3-1; = 3.10.0-1 +3 more | No fix listed | No fix yet |
| pypi nltk | >= 3.10.0, < 3.10.4 | 3.10.4 | Fixed |
| pypi nltk(PyPI) | = 3.10.0; = 3.10.1; = 3.10.2; = 3.10.3 +2 more | 3.10.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nltk(PyPI) | >= 3.10.0, <= 3.10.3 | No fix listed |
| pypi nltk(PyPI) | >= 3.10.0, < 3.10.4 | 3.10.4 |
| pypi nltk(PyPI) | = 3.10.0 | No fix listed |
| pypi nltk(PyPI) | = 3.10.1 | No fix listed |
| pypi nltk(PyPI) | = 3.10.2 | No fix listed |
| pypi nltk(PyPI) | = 3.10.3 | No fix listed |
| pypi nltk | >= 3.10.0, < 3.10.4 | 3.10.4 |
| azure linux python-nltk(Azure Linux:4.0) | All versions | No fix listed |
| debian/nltk(Debian:14) | All versions | No fix listed |
| debian/nltk(Debian:14) | = 3.10.0-1 | No fix listed |
| debian/nltk(Debian:14) | = 3.10.1-1 | No fix listed |
| debian/nltk(Debian:14) | = 3.10.3-1 | No fix listed |
| debian/nltk(Debian:14) | = 3.9.1-2 | No fix listed |
| debian/nltk(Debian:14) | = 3.9.2-1 | No fix listed |
| debian/nltk(Debian:14) | = 3.9.3-1 | No fix listed |
References
- GitHub Security Advisory (GHSA-qg35-44qx-7vrr) exploit vendor-advisory
- VulnCheck Advisory: NLTK 3.10.0 before 3.10.4 Symlink Escape in YCOECorpusReader third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com
- github.com
- github.com product
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-125216 third-party-advisory
- security-tracker.debian.org vendor-advisory