llamaCVEVulnerability Intelligence
/
NLTK

CVE-2026-126304

NLTK file read via symlink escape in YCOECorpusReader

Attackers who control a YCOE corpus can read files outside its root by planting symlinks.

Default setupsParche disponiblesymlink following
Descargar PNG JSON
CVSS 4.0
8.7
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -23 d de la divulgación
Exposición6 dDesde la divulgación, 13 nov 2026, 4:36 a. m.
Detección9 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 3.10.4
Monitoreo
Detectada +3
Verificada
21 oct 26
13 nov 26
18 nov 26
19 nov 26
21 oct 26
28 oct 26
4 nov 26
12 nov 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 3.10.4 nltk · -23 d desde divulgación
Divulgación Publicada CVE-2026-126304 divulgada · CVSS 8.7 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

NLTK from 3.10.0 before 3.10.4 contains a symlink escape vulnerability in YCOECorpusReader that allows attackers to read files outside the corpus root by planting psd or pos directory symlinks. Attackers controlling a YCOE corpus can make parsed_sents() and tagged_words() return file content from other corpora or temporary files within the NLTK data sandbox.

Affects NLTK 3.10.0 through 3.10.3 when an application loads a YCOE corpus whose directory contents an attacker controls, with pathsec.ENFORCE at its default of True. Fixed in 3.10.4.

¿Qué significa?The bug lets a file read escape the YCOE corpus root, so the reader can see file content from outside that directory, such as other corpora or temporary files within the NLTK data sandbox. The demonstrated capability is read-only.
¿Quién está afectado?Versions 3.10.0 through 3.10.3 are in the affected range. The flaw needs a victim application that loads a YCOE corpus whose directory contents are attacker-controlled, under pathsec.ENFORCE=True, which is the default in these releases. To check, look at the installed NLTK version and the pathsec.ENFORCE setting in the application.
¿Qué hacer?Upgrade NLTK to 3.10.4 or later, which is the fixed version for this vulnerability.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects NLTK 3.10.0 through 3.10.3“Confirmed affected range: >= 3.10.0, <= 3.10.3”
02
pathsec.ENFORCE is True, which is the default in the affected releases“The pathsec corpus-root containment control is active by default ( ENFORCE=True ) in the 3.10.x line”
03
A victim application loads a YCOE corpus whose directory contents the attacker controls“An attacker who controls the directory contents of a YCOE corpus that is loaded by a victim application under pathsec.ENFORCE=True”
¿Quién debe revisar?Teams running nltk 3.10.0 to 3.10.3 that load YCOE corpora from untrusted or shared data paths; pathsec.ENFORCE=True is the default in those releases.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

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

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypinltk
Corregida 3.10.4 -23 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-qg35-44qx-7vrr
Otrahttps://www.vulncheck.com/advisories/nltk-3.10.0-before-3.10.4-symlink-escape-in-ycoecorpusreader

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