---
title: "CVE-2026-128138: NLTK incomplete fix: additional JVM/JAR sandbox bypass through unvalidated launcher tokens in java() command arguments"
url: https://erroneo.us/security/cve/CVE-2026-128138/
description: "CVE-2026-128138 (nltk (PyPI)): NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-11-19
date_modified: 2026-11-19
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-128138"
kev: false
cvss: 9.8
epss: 0.00683
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.7% , percentile 53: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 53% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes nltk (PyPI) >= 3.10.3, < 3.10.4, fixed in 3.10.4 . Check your lockfile, including transitive dependencies.

## What it is

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.javaclass can therefore execute attacker-selected Java bytecode without the unsafe-JAR opt-in. This issue is fixed in version 3.10.4.

## Affected packages

- PyPI `nltk` >= 3.10.3, < 3.10.4 → fixed: 3.10.4

## Affected products (CVE record)

- nltk nltk: >= 3.10.3, < 3.10.4

## Severity

- GitHub_M CVSS 3.1: 9.8 `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 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-11-21): 0.68% probability of exploitation activity in the next 30 days; percentile 53.

## Sources

- [GitHub Advisory GHSA-x8q7-6c7m-52gw](https://github.com/advisories/GHSA-x8q7-6c7m-52gw)
- [CVE.org record CVE-2026-128138](https://www.cve.org/CVERecord?id=CVE-2026-128138)
- [NVD entry CVE-2026-128138](https://nvd.nist.gov/vuln/detail/CVE-2026-128138)
- [github.com](https://github.com/nltk/nltk/security/advisories/GHSA-x8q7-6c7m-52gw)
- [github.com](https://github.com/nltk/nltk/pull/3771)
- [github.com](https://github.com/nltk/nltk/commit/b36212795a522d2b7b176cf0e0d9d8da489ba6e6)
- [github.com](https://github.com/nltk/nltk/releases/tag/v3.10.4)

---
Source page: https://erroneo.us/security/cve/CVE-2026-128138/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
