NLTK through 3.10.3 contains a path traversal vulnerability in model-artifact APIs that bypass pathsec enforcement by using raw file operations on caller-controlled paths. Attackers can read or write files outside allowed sandbox roots through TransitionParser, AveragedPerceptron, PerceptronTagger, and maxent parameter APIs when pathsec is enabled.
CVE-2026-81726
CVSS base score
7.0 (v3.1)
Severity
HIGH
Attack vector
Network
Weakness
CWE-73
Last modified
October 30, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
Affected products
nltk nltk
References
- github.com Exploit, Vendor Advisory
- www.vulncheck.com Third Party Advisory
- github.com Exploit, Vendor Advisory