Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gohugo | Hugo | >= 0.43, < 0.161.0 |
Related Weaknesses (CWE)
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857MitigationVendor Advisory
FAQ
What is CVE-2026-44301?
CVE-2026-44301 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 witho...
How severe is CVE-2026-44301?
CVE-2026-44301 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-44301?
Check the references section above for vendor advisories and patch information. Affected products include: Gohugo Hugo.