llamaCVEVulnerability Intelligence
/
nltk

CVE-2026-54293

NLTK: URL-Encoded Path Traversal in nltk.data.load() Allows Arbitrary Local File Read

Parche disponiblepath traversal
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Fuente: CNA
7.5adp · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.10.0-rc1
Exposición149 dDesde la divulgación, 22 jun 2026, 12:25 p. m.
Detección147 dDesde 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 +1
Modificada
Explotación
Remediación
Monitoreo
Detectada
22 jun 26
9 sept 26
17 nov 26
19 nov 26
22 jun 26
30 jul 26
5 sept 26
13 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-54293 divulgada · CVSS 7.5 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.0-rc1, nltk.data.load() in NLTK is vulnerable to path traversal via URL-encoded path separators and traversal segments when using the nltk: URL scheme. The unsafe-path regex check is performed before url2pathname() decodes the %xx sequences (a classic decode-after-check / TOCTOU-style flaw), allowing an attacker to bypass the protection documented in NLTK's SECURITY.md and read arbitrary files from the filesystem. While literal traversal strings such as ../../../etc/passwd are correctly blocked, encoded variants such as %2fetc%2fpasswd, %2e%2e%2f..., and ..%2f..%2f slip past the regex and are subsequently decoded into a real filesystem path. This vulnerability is fixed in 3.10.0-rc1.

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:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
nltk< 3.10.0-rc1
nltk< 3.10.0
3.10.0-rc1
3.10.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
nltk
Corregida 3.10.0-rc1 — —
Versiones corregidas3.10.0-rc1
Explotación

Arsenal público

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

Registro
MitigaciónUpdate the nltk package to version 3.10.0 or later when a stable release is available. Upstream has fixed this issue in 3.10.0-rc1. Until updated builds are available, do not pass attacker-controlled resource identifiers to nltk.data.load() when using the nltk: URL scheme. Restrict NLTK data loading to trusted, application-controlled paths.redhat-SADP
solutionRHSA-2026:42644: Red Hat OpenShift AI 2.25redhat-SADP
solutionRHSA-2026:65126: Red Hat OpenShift AI 2.25redhat-SADP
solutionRHSA-2026:60520: Red Hat OpenShift AI 3.4redhat-SADP
Referencias
Advisoryhttps://access.redhat.com/errata/RHSA-2026:42644
Advisoryhttps://access.redhat.com/errata/RHSA-2026:65126
Advisoryhttps://access.redhat.com/errata/RHSA-2026:60520
Fabricantehttps://github.com/nltk/nltk/security/advisories/GHSA-p4gq-832x-fm9v
Análisishttps://bugzilla.redhat.com/show_bug.cgi?id=2491486
Otrahttps://github.com/nltk/nltk/pull/3575
Otrahttps://access.redhat.com/security/cve/CVE-2026-54293
Otrahttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54293.json

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