NLTK through 3.10.3 contains a path traversal vulnerability in WekaClassifier that allows attackers to bypass nltk.pathsec containment by supplying unvalidated model paths. Attackers controlling the model_filename or model argument can make the weka JVM write files via -d or probe files via -l outside allowed data roots.
https://github.com/nltk/nltk/security/advisories/GHSA-j456-xh4h-cpf2
Published: 2026-10-13
Updated: 2026-10-13
Base Score: 6.6
Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:C/A:P
Severity: Medium
Base Score: 7
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
Severity: High
Base Score: 8.3
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
Severity: High
EPSS: 0.00318