7.0High
CVE-2026-109956NLTK through 3.10.3 Path Traversal via WekaClassifier Model Path
Description
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.
Weakness (CWE):
CWE-22
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- GitHub Security Advisory (GHSA-j456-xh4h-cpf2) vendor-advisory
- VulnCheck Advisory: NLTK through 3.10.3 Path Traversal via WekaClassifier Model Path third-party-advisory