Path Traversal in Gohugo Hugo

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.

EPSS exploit prediction

EPSS: 0.003 (19.6th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 20th percentile — 19.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-44301: held from 0.004 to 0.003.

EPSS over last 30 days · oldest: 0.004 · newest: 0.003 · change: -0.002

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-44301?
CVE-2026-44301 is a high-severity vulnerability in Gohugo Hugo, classified under Path Traversal. CVSS score: 8.1/10. Published 2026-05-12.
How severe is CVE-2026-44301?
High severity. CVSS v3 base score is 8.1 out of 10.