Vulnerability

CVE-2026-44301

mediumCVSS 4.0 6.2Published 12 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gohugo hugo

Weakness type

References

  • github.com /gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning