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

- Severity: Medium 6.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-05-06T20:59:23.000Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-x597-9fr4-5857, GO-2026-5740
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- gohugoio hugo: >= 0.43.0, < 0.161.0
- github.com/gohugoio/hugo (Go): from 0.43.0 before 0.161.0; before 0.161.0
- gohugo hugo: from 0.43 before 0.161.0

## Every score

- GitHub_M: CVSS:4.0 6.2 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857> (advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44301> (advisory)
- <https://github.com/gohugoio/hugo> (package)
- <https://github.com/gohugoio/hugo/commit/a54c398b93821865547a9e21c73aad8a1d7f7bc1> (fix)

## Sources

- CVE List: [CVE-2026-44301](https://www.cve.org/CVERecord?id=CVE-2026-44301), CVE Terms of Use, modified 2026-05-13
- GitHub Advisory Database: [GHSA-x597-9fr4-5857](https://github.com/advisories/GHSA-x597-9fr4-5857), CC-BY-4.0, modified 2026-07-24
- Go Vulnerability Database: [GO-2026-5740](https://pkg.go.dev/vuln/GO-2026-5740), CC-BY-4.0, modified 2026-07-24
- NVD: [CVE-2026-44301](https://nvd.nist.gov/vuln/detail/CVE-2026-44301), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-44301 · Whole record: https://cve.day/CVE-2026-44301.json · Rebuilt by cve.day 2026-11-25T22:59:21.511Z
