CVE-2026-44301

HIGH

Hugo: Node tool execution allows file system access outside the project directory

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 8.1
EPSS 0.0027
EPSS Percentile 18.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (3)
gohugo/hugo 0.43 - 0.161.0
gohugoio/hugo 0.43.0 - 0.161.0Go
gohugoio/hugo >= 0.43.0, < 0.161.0
Published May 12, 2026
Tracked Since May 13, 2026