high8.2
CVE-2026-79676
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.paths…
Impact
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().
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | nltk | <= 3.10.2 | 3.10.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Nltk | Nltk | before 3.10.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-p4rw-rvv2-7xwr
- https://github.com/nltk/nltk/security/advisories/GHSA-p4rw-rvv2-7xwr
- https://nvd.nist.gov/vuln/detail/CVE-2026-79676
- https://github.com/nltk/nltk/commit/10d34b3f4fe3fec74b76527a409eb0acbac2e8ab
- https://github.com/nltk/nltk/releases/tag/v3.10.3
- https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3737.yaml
- https://www.vulncheck.com/advisories/nltk-before-path-traversal-via-symlink-bypass