NLTK
NLTK incomplete fix: additional JVM/JAR sandbox bypass through unvalidated launcher tokens in java() command arguments
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.10.3, < 3.10.4
Fixed in 3.10.4
Mitigation
Upgrade nltk to 3.10.4 or later.
References
- Vendor advisory github.com/nltk/nltk/security/advisories/GHSA-…
- Patch github.com/nltk/nltk/pull/3771
- Patch github.com/nltk/nltk/commit/b36212795a522d2b7b…
1 more
- Release notes github.com/nltk/nltk/releases/tag/v3.10.4
Timeline
Days relative to CVE publicationFirst public PoC 3.6 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-128138 (created 23 Nov 2026, found by us: 23 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-128138 | 23 Nov 2026 +3.6 d | 23 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.