CVE-2026-128138

Description

A flaw was found in NLTK. The internal Java execution wrapper fails to properly validate command arguments before launching the Java Virtual Machine (JVM), allowing launcher flags and argument files to be processed. An attacker who can supply input to these command parameters could exploit this flaw to execute arbitrary code with the permissions of the running application.

Statement

Red Hat has evaluated this vulnerability as having an Important severity because it could permit arbitrary Java bytecode execution within the execution context of the hosting container or application. In Red Hat environments, such as Red Hat OpenShift AI and OpenShift Lightspeed, NLTK is integrated as a library supporting natural language processing and machine learning workflows. Exploitation requires an application to pass untrusted input into internal command execution parameters alongside access to attacker-controlled files on the local filesystem. As a result, the blast radius is constrained to the permissions and lifecycle of the invoking container or application process.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7N/A9.8
Attack VectorLocalN/ANetwork
Attack ComplexityHighN/ALow
Privileges RequiredLowN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Confidentiality,Integrity,Availability,Other

Technical Impact: Execute Unauthorized Code or Commands; Alter Execution Logic; Read Application Data; Modify Application Data

If an attacker can provide an untrusted input that contains argument-separating delimiters, then the resulting command will have more arguments than intended by the developer, potentially changing the expected behavior of the command. Depending on the functionality supported by the extraneous arguments, this may have security-relevant consequences. The attacker could include arguments that allow unintended commands or code to be executed, allow sensitive data to be read or modified, or cause other unintended behavior.

Frequently Asked Questions

Want to get errata notifications? Sign up here.