Compound WireCOMPOUND8 September 2026
NLTK: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus root
NLTK: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus root
NLTK’s CorpusReader can expose your local files outside the configured corpus root when an attacker places a symlink inside it. The boundary check rejects absolute paths and .., but it checks the written path without resolving where the symlink actually leads. Applications using CorpusReader or FileSystemPathPointer as a filesystem sandbox need the fix for CVE-2026-70626.
https://github.com/advisories/GHSA-r6gq-whwq-mvg9
#dev