ADVISORIES

Vulnerability

CVE-2026-109956

NLTK before 3.10.4 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.

11 advisories report this vulnerability, across 5 ecosystems.

Advisories in PyPI

  • GHSA-j456-xh4h-cpf2

    NLTK: WekaClassifier passes an unvalidated caller-controlled model path to the weka JVM, bypassing nltk.pathsec containment

    High CVE-2026-109956 PyPI Updated 27 October 2026

References