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

21 May 2026, 20:21

Type Values Removed Values Added
CPE cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.1
References () https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857 - () https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857 - Mitigation, Vendor Advisory
First Time Gohugo
Gohugo hugo

12 May 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-12 22:16

Updated : 2026-05-21 20:21


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')