4 matches found
CVE-2026-126304
A flaw was found in NLTK. This vulnerability can result in unauthorized information disclosure when processing untrusted corpus data. By supplying a crafted corpus containing directory symbolic links symlinks, an attacker can bypass directory confinement controls in the YCOE corpus reader. This...
GHSA-QG35-44QX-7VRR 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.join nltk/data.py performs a purely lexical containment check and never resolves symlinks, and because...
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.join nltk/data.py performs a purely lexical containment check and never resolves symlinks, and because...
Duplicate Advisory: Symlink escape in YCOECorpusReader lets a psd/pos directory symlink read files outside the corpus root within the data sandbox
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-qg35-44qx-7vrr. This link is maintained to preserve external references. Original Description NLTK from 3.10.0 before 3.10.4 contains a symlink escape vulnerability in YCOECorpusReader that allows attackers to...