What’s Vulnerable › Vulnerabilities

CVE-2026-79674: NLTK 3.10.2 Path Traversal via corpus-reader constructors

Description

NLTK versions before 3.10.3 contain a path sandbox bypass vulnerability in corpus-reader constructors that allows attackers to read files outside the intended data root. Attackers can supply arbitrary corpus root paths to LinThesaurusCorpusReader and PanLexLiteCorpusReader constructors to access filesystem content and SQLite databases outside the pathsec sandbox boundary.

Affected products

How to fix

Upgrade to a fixed version: nltk 3.10.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-79674 or the next vulnerability affects your stack