llamaCVEVulnerability Intelligence
/
NLTK

CVE-2026-128135

NLTK file overwrite via hardlinks in ZIP package extraction

A local attacker with low privileges can overwrite files outside the data root without any user action.

Specific setups onlyParche disponiblesymlink following
Descargar PNG JSON
CVSS 3.1
7.1
Alta
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -29 d de la divulgación
Exposición22 hDesde la divulgación, 19 nov 2026, 12:59 p. m.
Detección8 minDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 3.10.4
Monitoreo
Detectada +2
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-128135 divulgada · CVSS 7.1 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 19 nov 2026

NLTK's ZIP package extraction can follow a hardlink inside the NLTK data root whose other link points outside it. A local attacker with low privileges and no user action needed can use this to overwrite files outside the data root, which harms integrity and availability.

Affects nltk 3.9.4 through 3.10.3 installed from pip. Fixed in 3.10.4.

¿Qué significa?When NLTK extracts a ZIP package, it can follow a pre-existing hardlink inside the NLTK data root and truncate and overwrite a file outside that root. A local user who can write inside a shared or predictable NLTK data root can cause this.
¿Quién está afectado?The issue affects nltk versions 3.9.4 through 3.10.3 installed with pip. To check an installation, run pip show nltk or python -c "import nltk; print(nltk.__version__)". The advisory also depends on the kernel setting fs.protected_hardlinks, which can be read with sysctl fs.protected_hardlinks.
¿Qué hacer?Upgrade nltk to 3.10.4, the first fixed version in the product range. No vendor patch identifiers are given in the facts.
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.9.4 to 3.10.3, NLTK ZIP package extraction can write through an existing in-root hardlink whose other link points outside the NLTK data root. A local attacker who can prepare the extraction target can cause a package member write to overwrite an out-of-root file, violating the pathsec containment boundary and affecting integrity and availability. This issues is fixed in version 3.10.4.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected versions 3.9.4 through 3.10.3 of the nltk package (pip).“>= 3.9.4, <= 3.10.3”
02
A pre-existing in-root hardlink must sit at the member path the package will write, and the attacker must be able to write inside the shared or predictable NLTK data root.“A local actor who can write inside a shared or predictable NLTK data root”
03
Practical exploitation requires kernel hardlink protection (fs.protected_hardlinks) to be disabled, or the outside target to be one the attacker is permitted to hardlink.“Practical exploitation requires either that kernel hardlink protection ( fs.protected_hardlinks ) is disabled, or that the outside target is one the planting actor is permitted to hardlink”
¿Quién debe revisar?Teams running nltk 3.9.4 through 3.10.3 with nltk.download() or the downloader on shared or predictable data roots such as ~/nltk_data or group-writable /usr/share/nltk_data.
Vector CVSS 3.1

Desglose de métricas

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

Rangos afectados

Afectada Corregida Última
nltk≥ 3.9.4 < 3.10.4
3.9.4
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-wr3g-j6qj-xpgh
Otrahttps://github.com/nltk/nltk/pull/3753
Otrahttps://github.com/nltk/nltk/commit/0e9898b7615b4ab3b023e868212316a489ece4f0
Otrahttps://github.com/nltk/nltk/commit/cf12a5e6a439fe1d722acd53d4309911faaaaf78
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.