Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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