llamaCVEVulnerability Intelligence
/
NLTK

CVE-2026-128138

NLTK arbitrary code execution via Java launcher arguments

A remote attacker with no login or user action can run Java bytecode of their choice on the affected system.

UnclearParche disponiblecommand injection
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -29 d de la divulgación
Exposición1 dDesde la divulgación, 19 nov 2026, 12:53 p. m.
Detección5 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Existe PoC pública, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 3.10.4
Monitoreo
Detectada +3
21 oct 26
19 nov 26
20 nov 26
21 oct 26
29 oct 26
5 nov 26
13 nov 26
20 nov 26
FechaFaseEventoDetalle
Remediación Parche 3.10.4 nltk · -29 d desde divulgación
Divulgación Publicada CVE-2026-128138 divulgada · CVSS 9.8 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 19 nov 2026

NLTK, the Natural Language Toolkit Python library, has an incomplete fix for an earlier Java sandbox bypass. Supplying -jar or an @argfile through its Java launcher helpers lets an attacker execute Java bytecode of their choice. An attacker can do this remotely, without logging in and without any user action.

Affects nltk 3.10.3 in applications that let attackers influence the java() cmd argument or StanfordSegmenter java_class. CVSS rates it Critical (9.8). Fixed in 3.10.4.

¿Qué significa?An earlier fix for a JVM/JAR sandbox bypass in NLTK left some launcher tokens in java() command arguments unvalidated. Attacker-selected Java bytecode can then run with the privileges of the process using NLTK.
¿Quién está afectado?Only nltk 3.10.3 is confirmed affected, and only where an embedding application exposes attacker influence over the java() cmd argument or StanfordSegmenter java_class. To check, look at the installed nltk version (for example with pip show nltk) and whether those arguments can be influenced from outside the application.
¿Qué hacer?Upgrade nltk to 3.10.4, the listed fixed version.
Descripción original del registro (GitHub_M)

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects nltk 3.10.3, the version with the JVM hardening.“Confirmed affected version: 3.10.3”
02
An embedding application must expose attacker influence over the java() cmd argument or StanfordSegmenter java_class.“exposing attacker influence over one of these public argument paths”
¿Quién debe revisar?Teams running nltk 3.10.3 whose code passes untrusted or attacker-influenced values into nltk.internals.java cmd or StanfordSegmenter java_class.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
nltk≥ 3.10.3 < 3.10.4
3.10.3
3.10.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypinltk
Corregida 3.10.4 -29 d 3.10.4 no afectada
Versiones corregidas3.10.4
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/nltk/nltk/security/advisories/GHSA-x8q7-6c7m-52gw
Otrahttps://github.com/nltk/nltk/pull/3771
Otrahttps://github.com/nltk/nltk/commit/b36212795a522d2b7b176cf0e0d9d8da489ba6e6
Otrahttps://github.com/nltk/nltk/releases/tag/v3.10.4

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.