NetSight
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

EcosystemPackageAffectedFixed in
pipnltk<= 3.10.23.10.3

Affected products

VendorProductAffected versions
NltkNltk
before 3.10.3

Weakness classification

References