Command Injection Vulnerability in NLTK Python Library
CVE-2026-128138

9.8CRITICAL

Key Information:

Vendor

Nltk

Status
Vendor
CVE Published:
19 November 2026

What is CVE-2026-128138?

The NLTK (Natural Language Toolkit) library for Python has a vulnerability that allows an attacker to execute arbitrary Java bytecode due to insufficient validation of command line options. The flaw exists in versions 3.10.3 and earlier, where the library improperly handles Java launcher tokens, permitting the execution of attacker-selected Java code through specific command line arguments. This vulnerability has been resolved in version 3.10.4, ensuring that the first token is validated and complies with safety protocols.

Affected Version(s)

nltk >= 3.10.3, < 3.10.4

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.