1. Home
  2. Vulnerabilities
  3. CVE-2026-44301

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…

Published 12 May 2026 · modified 26 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 40/100

Summary

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.

Affected products and versions

Gohugo (1 line(s))
Gohugo
ProductVersionsFixed inSource
Hugo from 0.43 (included) to 0.161.0 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N (CVSS 3.1, NVD)
Weakness
CWE-22 · Traversée de chemin / fichiers

How this data is obtained and calculated