# CVE-2026-44301: Hugo: Node tool execution allows file system access outside the project directory

- Priority: **Routine**
- Reason: Not severe (CVSS 6.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-12 · Modified: 2026-05-13
- Aliases: UBUNTU-CVE-2026-44301, DEBIAN-CVE-2026-44301, GHSA-x597-9fr4-5857, GO-2026-5740
- Record: https://cvemate.com/vulnerability/CVE-2026-44301 · JSON: https://cvemate.com/vulnerability/CVE-2026-44301/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.274%, percentile 21.087%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian hugo (Debian): All versions (No fix recorded) \| \< 0.161.0-1
- ubuntu hugo (Ubuntu): All versions (No fix recorded)
- gohugo hugo: ≥ 0.43, \< 0.161.0
- gohugoio hugo: ≥ 0.43.0, \< 0.161.0
- github.com/gohugoio hugo (Go): ≥ 0.43.0, \< 0.161.0 \| \< 0.161.0

## References

- <https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857>
- <https://ubuntu.com/security/CVE-2026-44301>
- <https://www.cve.org/CVERecord?id=CVE-2026-44301>
- <https://security-tracker.debian.org/tracker/CVE-2026-44301>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44301>
- <https://github.com/gohugoio/hugo>
- <https://github.com/gohugoio/hugo/commit/a54c398b93821865547a9e21c73aad8a1d7f7bc1>

---

Data as of 2026-12-05T10:25:13.664Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
