CVE-2026-79676
Description
NLTK versions before 3.10.3 contain a path traversal vulnerability in corpus readers that reopen root-derived paths using built-in open() instead of nltk.pathsec.open(), allowing symlinks to escape trusted roots. Attackers who stage symlinked corpus files under a trusted data root can disclose outside-root content through normal corpus reader methods like channels(), domains(), and synonyms().
How to fix
- nltk nltk3.10.3 or later
- nltk3.10.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nltk nltk | v < 3.10.3 | 3.10.3 |
| nltkPyPI | v < 3.10.3 | 3.10.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.