Read the docs
TI-2026-32270 Aliases CVE-2026-44301GHSA-x597-9fr4-5857

Hugo: Node tool execution allows file system access outside the project directory

Priority LOW 33CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00274 19th percentileScored 2026-11-07
Fix Fixed hugo (gohugoio): 0.161.0github.com/gohugoio/hugo (Go): 0.161.0Red Hat: 1 advisory

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gohugoiohugo0.43.0 to before 0.161.00.161.0Patch availableCNA
—github.com/gohugoio/hugo (Go)0.43.0 to before 0.161.00.161.0Patch availableGHSA-x597-9fr4-5857
  • hugo Vendorgohugoio Affected 0.43.0 to before 0.161.0 Fixed in 0.161.0 Patch available CNA
  • github.com/gohugoio/hugo (Go) Vendor— Affected 0.43.0 to before 0.161.0 Fixed in 0.161.0 Patch available GHSA-x597-9fr4-5857

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:*0.43 to before 0.161.0Vulnerablegohugoio
  • cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:* Versions 0.43 to before 0.161.0 Vulnerable ·gohugoio

Remediation

  • Fix · CNA hugo (gohugoio) Fixed in 0.161.0
  • Fix · GHSA-x597-9fr4-5857 github.com/gohugoio/hugo (Go) Fixed in 0.161.0 Advisory →

Red Hat 1 advisory

  • RHSA-2026:66266 Released 2026-09-09 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images hugo-0.166.0-0.1.hum1@aarch64, hugo-0.166.0-0.1.hum1@src, hugo-0.166.0-0.1.hum1@x86_64

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Hardened ImagesFixed RHSA-2026:66266
Not affected: 4 products
  • Red Hat Enterprise Linux 10
  • Red Hat Hardened Images
  • Red Hat OpenShift GitOps
  • Red Hat OpenStack Platform 18.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-44301
  2. 2026-10-03 Alias added: GHSA-x597-9fr4-5857
  3. 2026-10-20 Fix available: RHSA-2026:66266 · Red Hat
  4. 2026-10-20 Fix available: Red Hat Hardened Images · Red Hat
  5. 2026-10-20 CVSS score added · Red Hat

References

  • TI-2026-64848 Hugo before v0.166.0 Path Traversal via Symlinked Mount Roots CVSS 4.0HIGH 8.7
  • TI-2026-64846 Hugo v0.161.0 to v0.165.0 Arbitrary File Read via Symlinks CVSS 4.0HIGH 8.7
  • TI-2026-53153 Hugo 0.162.0 to 0.164.x - Node Permission Model Bypass via Default TailwindCSS Child-Process Grant CVSS 4.0CRITICAL 9.3
  • TI-2020-16105 Hugo can execute a binary from the current directory on Windows CVSS 3.1HIGH 8.5
  • TI-2026-64849 Hugo v0.162.0 before v0.166.0 IP-literal Deny Rule Bypass CVSS 4.0HIGH 8.6
  • TI-2026-36906 Hugo: Symlink confinement bypass in resources.Get CVSS 4.0MEDIUM 6.9
See all 15 →

Sources