CVE-2026-79676
NLTK versions before 3.10.3 contain a path traversal vulnerability …
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().
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nltk/nltk/security/advisories/GHSA-p4rw-rvv2-7xwr
- www.vulncheck.com/advisories/nltk-before-path-traversal-via-symlink-bypass
- nvd.nist.gov/vuln/detail/CVE-2026-79676
- github.com/nltk/nltk/commit/10d34b3f4fe3fec74b76527a409eb0acbac2e8ab
- github.com/nltk/nltk/releases/tag/v3.10.3
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3737.yaml
- github.com/advisories/GHSA-p4rw-rvv2-7xwr
- nvd.nist.gov/vuln/detail/CVE-2026-79676
- cve.org/CVERecord?id=CVE-2026-79676
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.