CVE-2026-75926
CVE-2026-75926 · Hugo 0.162.0 to 0.164.x - Node Permission Model Bypass via Default TailwindCSS Child-Process Grant
CVSS 9.3 · Crítica · EPSS 0,2% · Corrección disponible
Compara con tu versión instalada
Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.
- hugoActualiza a 0.165.0
- hugo Debian 14Actualiza a 0.165.0-1
- hugo Ubuntu 16.04 LTSSin corrección publicada
- hugo Ubuntu 18.04 LTSSin corrección publicada
- y 5 más
Comprueba la versión instalada:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="hugo"'Evalúa los riesgos de tu servidor
La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.
La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.
curl -fsSL https://patchfirst.dev/check.sh | shLos canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
Hugo 0.161.0 placed the Node asset pipelines behind the Node.js permission model so that code running through PostCSS, Babel, or TailwindCSS could not reach the file system outside the project directory. Hugo 0.162.0 added tailwindcss to the AllowChildProcess default in config/security/securityConfig.go, which makes nodePermissionArgs in common/hexec/exec.go append --allow-child-process whenever the tool being launched is named tailwindcss. TailwindCSS loads the site's tailwind.config.js through require at startup, so top-level code in that file executes inside the permitted Node process and can call child_process to spawn a shell. The spawned process is not a Node process and inherits none of the permission flags, so it runs with the full privileges of the account performing the build. Building a site whose theme, module, or starter template supplies the Tailwind configuration therefore yields arbitrary command execution rather than the confined file access the permission model was introduced to enforce. Hugo 0.165.0 removes tailwindcss from the default security.exec.allow list, so the tool is no longer launched under the default configuration.
- Publicación
- Actualización
Pila tecnológica: system
Productos y versiones afectados
hugo
- Versiones
- ≥ 0.162.0, < 0.165.0: Afectada (semver)
Actualiza a 0.165.0
hugo Debian 14
- Versiones
- 0.131.0-1
- 0.131.0-2
- 0.150.0-1
- 0.150.1-1
- 0.151.0-1
- 0.151.1-1
Todas las versiones (43)
- 0.151.2-1
- 0.152.1-1
- 0.152.2-1
- 0.153.0-1
- 0.153.1-1
- 0.153.1-2
- 0.153.1-3
- 0.153.2-1
- 0.154.1-1
- 0.154.2-1
- 0.154.2-2
- 0.154.3-1
- 0.154.5-1
- 0.155.1-1
- 0.155.2-1
- 0.155.3-1
- 0.157.0-1
- 0.157.0-2
- 0.157.0-3
- 0.158.0-1
- 0.158.0-2
- 0.158.0-3
- 0.159.0-1
- 0.159.1-1
- 0.159.2-1
- 0.160.0-1
- 0.160.0-2
- 0.160.1-1
- 0.161.0-1
- 0.161.1-1
- 0.162.1-1
- 0.162.1-2
- 0.162.1-3
- 0.162.1-4
- 0.162.1-5
- 0.162.1-6
- 0.162.1-7
- Intervalos de versiones afectados
- ECOSYSTEM: < 0.165.0-1
Actualiza a 0.165.0-1
hugo Ubuntu 16.04 LTS
- Versiones
- 0.15+git20160109.147.dd1d655-1
- 0.15+git20160109.147.dd1d655-2
- 0.15+git20160128.179.5def6d9-1
- 0.15+git20160206.203.ed23711-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
hugo Ubuntu 18.04 LTS
- Versiones
- 0.25.1-2
- 0.26-1
- 0.35-1
- 0.37.1-1
- 0.38-1
- 0.39-1
Todas las versiones (8)
- 0.40-1
- 0.40.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
hugo Ubuntu 20.04 LTS
- Versiones
- 0.57.2-1
- 0.58.3-1
- 0.59.1-1.1
- 0.68.3-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
hugo Ubuntu 22.04 LTS
- Versiones
- 0.80.0-6
- 0.89.4-2
- 0.90.0-1
- 0.90.1-1
- 0.91.0-1
- 0.91.2-1
Todas las versiones (10)
- 0.92.0-1
- 0.92.1-1build1
- 0.92.2-1
- 0.92.2-1ubuntu0.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
hugo Ubuntu Pro 24.04 LTS
- Versiones
- 0.113.0-3
- 0.119.0-2
- 0.120.3-1
- 0.120.4-1
- 0.121.2-1
- 0.122.0-1
Todas las versiones (13)
- 0.123.7-1build1
- 0.123.7-1ubuntu0.1
- 0.123.7-1ubuntu0.2
- 0.123.7-1ubuntu0.2+esm1
- 0.123.7-1ubuntu0.3
- 0.123.7-1ubuntu0.3+esm1
- 0.123.7-1ubuntu0.3+esm2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
hugo Ubuntu 26.10
- Versiones
- 0.154.5-1
- 0.162.1-5
- 0.162.1-7
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
hugo Ubuntu 26.04 LTS
- Versiones
- 0.131.0-1
- 0.152.2-1
- 0.153.1-3
- 0.153.2-1
- 0.154.2-2
- 0.154.3-1
Todas las versiones (7)
- 0.154.5-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
Fuentes originales
- https://github.com/gohugoio/hugo/commit/8a55df7af2e6da31297245cc54fa2e3b521d93e8
- https://github.com/gohugoio/hugo/issues/15178
- https://github.com/gohugoio/hugo/blob/v0.164.0/config/security/securityConfig.go#L72-L79
- https://github.com/gohugoio/hugo/blob/v0.164.0/common/hexec/exec.go#L292-L295
- https://github.com/gohugoio/hugo
- https://www.vulncheck.com/advisories/hugo-to-x-node-permission-model-bypass-via-default-tailwindcss-child-process-grant
- https://nvd.nist.gov/vuln/detail/CVE-2026-75926