Skip to main content
← All vulnerabilities
CVE-2026-109956GHSA-J456-XH4H-CPF2

NLTK through 3.10.3 Path Traversal via WekaClassifier Model Path

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.10.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nltk nltk

    through 3.10.3

  • nltkPyPI

    fixed in 3.10.4

References 2

GitHub · nltk/nltk

vulncheck.com