| Name | CVE-2026-126304 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| nltk (PTS) | bookworm | 3.8-1 | fixed |
| trixie | 3.9.1-2 | fixed |
| forky, sid | 3.10.3-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| nltk | source | bookworm | (not affected) | | | |
| nltk | source | trixie | (not affected) | | | |
| nltk | source | (unstable) | (unfixed) | | | |
Notes
[trixie] - nltk <not-affected> (Vulnerable code not present, introduced in 3.10)
[bookworm] - nltk <not-affected> (Vulnerable code not present, introduced in 3.10)
https://github.com/nltk/nltk/security/advisories/GHSA-qg35-44qx-7vrr