CVE-2026-44301

Hugo is a static site generator. From 0.43 to before 0.161.0, when building a Hugo site that uses Node-based asset pipelines (PostCSS, Babel, TailwindCSS), Hugo invoked the configured Node tools without restrictions on file system access. As a result, executing hugo against an untrusted site could allow code running through these tools to read or write files outside the project's working directory. Users who do not use PostCSS, Babel, or TailwindCSS, or who only build trusted sites, are not affected. This vulnerability is fixed in 0.161.0.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:*

History

26 Oct 2026, 14:10

Type Values Removed Values Added
Summary
  • (es) Hugo es un generador de sitios estáticos. Desde la versión 0.43 hasta antes de la 0.161.0, al construir un sitio Hugo que utiliza pipelines de activos basados en Node (PostCSS, Babel, TailwindCSS), Hugo invocaba las herramientas de Node configuradas sin restricciones de acceso al sistema de archivos. Como resultado, ejecutar hugo contra un sitio no confiable podría permitir que el código que se ejecuta a través de estas herramientas lea o escriba archivos fuera del directorio de trabajo del proyecto. Los usuarios que no utilizan PostCSS, Babel o TailwindCSS, o que solo construyen sitios confiables, no se ven afectados. Esta vulnerabilidad está corregida en la versión 0.161.0.

Information

Published : 2026-05-12 22:16

Updated : 2026-10-26 14:10


NVD link : CVE-2026-44301

Mitre link : CVE-2026-44301

CVE.ORG link : CVE-2026-44301


JSON object : View

Products Affected

gohugo

  • hugo
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')