CVE Catalog

CVE-2026-44301

High
Published: Translated: NVD NIST

Summary

Hugo, a static site generator, had a vulnerability in versions from 0.43 to before 0.161.0 that allowed unrestricted file system access during the build of sites using Node-based asset pipelines. Running hugo against an untrusted site could allow code running through these tools to read or write files outside the project's working directory.

Risk Assessment

Organizations may be exposed to unauthorized data access if they use untrusted resources in the site build process. Users who do not use PostCSS, Babel, or TailwindCSS, or who only build trusted sites, are not affected by this vulnerability.

Recommendation

It is recommended to upgrade to version 0.161.0 or later to mitigate this vulnerability. Users should also avoid using untrusted resources in the site build process.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS