Path traversal
NLTK has a Path Traversal issue
Several NLTK corpus reader classes do not validate file paths, so an attacker who controls a file path can read files outside the intended corpus directory. This could expose sensitive files such as SSH keys and API tokens, and may lead to remote code execution when combined with other flaws.
nltk
High