5.9Medium
CVE-2026-79676NLTK before 3.10.3 Path Traversal via Symlink Bypass
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().
Weakness (CWE):
CWE-22
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- GitHub Security Advisory (GHSA-p4rw-rvv2-7xwr) vendor-advisoryExploitVendor Advisory
- VulnCheck Advisory: NLTK before 3.10.3 Path Traversal via Symlink Bypass third-party-advisoryThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:nltk:nltk:*:*:*:*:*:*:*:*< 3.10.3