CVE-2026-89259gohugoio hugo
Restricción insuficiente de permisos en Hugo por TailwindCSS
Crítica 9.3 Sin autenticación
Seguir: esta CVE · gohugoio · gohugoio hugo Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 11 sep 2026
- Actualizada
- 24 sep 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-250
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Hugo desde v0.161.0 ejecuta herramientas Node bajo el modelo de permisos de Node, pero TailwindCSS en la lista de seguridad predeterminada requiere una configuración muy permisiva que permite eludir las restricciones de acceso a archivos. Un atacante puede leer y escribir archivos fuera del directorio del proyecto durante la compilación si se utiliza TailwindCSS. El problema se corrigió en v0.165.0 removiendo TailwindCSS de la lista predeterminada.
Ver el texto original de NVD (en inglés)
Hugo is a static site generator. From v0.161.0, Hugo executes Node tools under Node's permission model, but TailwindCSS — included in the default security.exec.allow list — requires a highly permissive configuration (--allow-addons, --allow-child-process, --allow-worker). As a result, the restrictions intended by the fix for GHSA-x597-9fr4-5857 could still be bypassed, allowing a Node tool invoked during a build to read and write files outside the project's working directory. Affected versions are those after v0.43; the issue was fixed in v0.165.0 by removing tailwindcss from the default security.exec.allow list. Users who do not use TailwindCSS, or who only build trusted sites, are not affected. As a workaround, users can define a restrictive security.exec.allow list in hugo.toml.
Qué hacer
Hay parche · versiones corregidas: 0.165.0
Actualiza Hugo a v0.165.0 o superior. Si no puedes actualizar, define una lista restrictiva de security.exec.allow en hugo.toml.
- Aplica la actualización de seguridad del fabricante para hugo.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados
- gohugoio · hugo
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.