CVE-2026-44301CWE-22

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

Medium · published May 12, 2026

CVSS v4.0
6.2
EPSS
0%
Percentile
36.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.2 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
EPSS
0.00428 · 36.0th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-05-12T21:37Z
EPSS history
Timeline
  • 12 MAY 21:37Z
    Hugo: Node tool execution allows file system access outside the project directory
    cvelistv5