What’s Vulnerable › Vulnerabilities

CVE-2026-109956: NLTK 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.

Affected products

How to fix

Upgrade to a fixed version: Pypi Nltk 3.10.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-109956 or the next vulnerability affects your stack