- Home
- Vulnerabilities
- 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…
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))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| 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
- — CVE published (cve)
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857Mitigation, Vendor Advisory
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