patchminder
Proof of concept · GitHub CVE-2026-128138

Command injectionin nltk.

Published 19 Nov 2026 · Updated 19 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.7% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 3.10.4 or later
In plain words

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.10.3 until 3.10.4, the NLTK 3.10.3 JVM hardening validates Java launcher tokens in the options channel but appends the caller-controlled cmd sequence without requiring its first token to be a main class. Supplying -jar or an @argfile through nltk.internals.java or StanfordSegmenter.java_class can therefore execute attacker-selected Java bytecode without the unsafe-JAR opt-in. This issue is fixed in version 3.10.4.

What to do now
  • Upgrade nltk to 3.10.4 or later.
  • Upgrade nltk (PyPI) to 3.10.4 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
nltk
3.10.3 to before 3.10.4
3.10.4
CVE record
nltk (PyPI)
3.10.3 to before 3.10.4
3.10.4
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 12 Nov 2026
    CVE ID reserved by GitHub_M.
  2. 19 Nov 2026
    Published in the CVE List.
  3. 19 Nov 2026
    CVE record last updated.
  4. 23 Nov 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
2 repositories
GitHubno warning signs foundgooglesky/CVE-2026-1281380 stars · created 23 Nov 2026NLTK 3.10.3: java() validates options/classpath but appends caller cmd raw · '-jar' runs arbitrary JAR, '@argfile' injects JVM args. Verbatim guard from b362127: launch tokens reach Java on vuln vs
GitHubno warning signs foundcveForge/CVE-2026-1281380 stars · created 24 Nov 2026NLTK Java Launcher OS Command Injection via Token · CVSS 9.8

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other nltk vulnerabilities

Same weakness: Command injection

All CWE-77 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-128138: Command injection in nltk. https://patchminder.com/cve/cve-2026-128138/ (accessed 5 December 2026).