# CVE-2026-128138: NLTK incomplete fix: additional JVM/JAR sandbox bypass through unvalidated launcher tokens in java() command arguments

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-19T17:53:03.291Z
- Modified: 2026-11-20T00:15:05.411Z
- Also known as: GHSA-x8q7-6c7m-52gw
- Weaknesses: CWE-77, CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nltk nltk: >= 3.10.3, < 3.10.4
- nltk (PyPI): from 3.10.3 before 3.10.4

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-x8q7-6c7m-52gw> (exploit, web)
- <https://github.com/nltk/nltk/pull/3771> (web)
- <https://github.com/nltk/nltk/commit/b36212795a522d2b7b176cf0e0d9d8da489ba6e6> (web)
- <https://github.com/nltk/nltk/releases/tag/v3.10.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-128138> (advisory)
- <https://github.com/nltk/nltk> (package)

## Sources

- CVE List: [CVE-2026-128138](https://www.cve.org/CVERecord?id=CVE-2026-128138), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-x8q7-6c7m-52gw](https://github.com/advisories/GHSA-x8q7-6c7m-52gw), CC-BY-4.0, modified 2026-11-20
- NVD: [CVE-2026-128138](https://nvd.nist.gov/vuln/detail/CVE-2026-128138), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-128138 · Whole record: https://cve.day/CVE-2026-128138.json · Rebuilt by cve.day 2026-11-25T22:59:52.158Z
