CVE-2026-128138
NLTK incomplete fix: additional JVM/JAR sandbox bypass through unvalidated launcher tokens in java() command arguments
- CVSS
- 9.8
- EPSS
- 0.69% (p54)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-20
- Product
- nltk nltk
- Aliases
- EUVD-2026-130438, GHSA-x8q7-6c7m-52gw
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
Fixed in
3.10.4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| PyPI | nltk | >= 3.10.3, < 3.10.4 | 3.10.4 |
| PyPI | nltk | >=3.10.3, <3.10.4 | 3.10.4 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- ENISA EUVD · first seen 15d ago · ENISA
- GitHub Advisory Database · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://github.com/nltk/nltk/security/advisories/GHSA-x8q7-6c7m-52gw x_refsource_CONFIRM
- https://github.com/nltk/nltk/pull/3771 x_refsource_MISC
- https://github.com/nltk/nltk/commit/b36212795a522d2b7b176cf0e0d9d8da489ba6e6 x_refsource_MISC
- https://github.com/nltk/nltk/releases/tag/v3.10.4 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-128138 other
- https://github.com/advisories/GHSA-x8q7-6c7m-52gw other
- https://github.com/nltk/nltk package