THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-qg35-44qx-7vrr (high) — NLTK: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox

[GHSA] GHSA-qg35-44qx-7vrr (high) — NLTK: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox

highgithub_advisoriesPublished 2026-11-13

GHSA-qg35-44qx-7vrr Severity: high CVE: CVE-2026-126304

NLTK: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox

## Summary

`YCOECorpusReader` builds two nested corpus sub-readers whose roots are derived from `self.root.join("psd")` and `self.root.join("pos")` (nltk/corpus/reader/ycoe.py). Because `FileSystemPathPointer

Indicators of compromise

Original source: https://github.com/advisories/GHSA-qg35-44qx-7vrr