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.
https://www.vulncheck.com/advisories/nltk-through-3.10.3-path-traversal-via-model-artifact-apis
https://github.com/nltk/nltk/security/advisories/GHSA-8mgp-746c-j5xp
Published: 2026-08-27
Updated: 2026-08-28
Base Score: 6.6
Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:P/A:P
Severity: Medium
Base Score: 7
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L
Severity: High
Base Score: 8.3
Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00265