NLTK versions from 3.9.4 up to but not including 3.10.4 contain a vulnerability in the CorpusReader view methods where intermediate-directory symlinks inside the corpus root can bypass scoped root sandbox protections. This allows reading files outside the intended corpus root but within the global allowed roots, defeating intended path validation. The issue arises because view methods use a different file access path that does not enforce the scoped root check, allowing symlink traversal. The vulnerability is fixed in version 3.10.4.