Read the docs

Hugo v0.161.0 to v0.165.0 Arbitrary File Read via Symlinks

Priority MEDIUM 44CWE-59Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 2 fixed, 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-59 and the CVSS impact.

Summary

Hugo versions from v0.161.0 through v0.165.0 run Node.js tools (css.PostCSS, css.TailwindCSS, js.Babel) under the Node.js permission model to restrict file system reads to the project directory and configured mounts. Because the Node.js permission model validates only the lexical path and follows symbolic links that point outside the allowed set, Hugo did not detect symlinks escaping the sandbox. An attacker who can contribute content to a Hugo project (for example via a pull request) can commit a symlink such as assets/css/x.css -> /etc/passwd together with a PostCSS plugin that reads it, allowing any file readable by the Hugo build process to be disclosed and potentially embedded in the published site. This affects builds using the default security configuration; projects that do not invoke Node.js tools are unaffected. Fixed in v0.166.0, which scans allowed paths and fails the build when a symbolic link resolves outside them.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00356 29th percentileScored 2026-11-07
Fix Partial hugo (gohugoio): 0.166.0Red Hat: 2 advisoriesRed Hat: 2 fixed, 1 without a fix

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.161.0 to before 0.166.00.166.0Patch availableCNA
  • hugo Vendorgohugoio Affected 0.161.0 to before 0.166.0 Fixed in 0.166.0 Patch available CNA

CPE configurations NVD · 1

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

Remediation

  • Fix · CNA hugo (gohugoio) Fixed in 0.166.0

Red Hat 2 advisories

  • RHSA-2026:74609 Released 2026-10-01 · Red Hat rating Important
    Cluster Observability Operator 1.5.3
    • Cluster Observability Operator 1.5 registry.redhat.io/cluster-observability-operator/alertmanager-rhel9, registry.redhat.io/cluster-observability-operator/cluster-observability-rhel9-operator, registry.redhat.io/cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9 +13
  • 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

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    gohugoio hugo 0.166.0

    5 records Highest priority Priority MEDIUM 2 MEDIUM, 3 LOW

    Other records, highest priority first

    • TI-2026-64848 Hugo before v0.166.0 Path Traversal via Symlinked Mount RootsPriority MEDIUM 44
    • TI-2026-64849 Hugo v0.162.0 before v0.166.0 IP-literal Deny Rule BypassPriority LOW 38
    • TI-2026-64850 Hugo before 0.166.0 Cross-Site Scripting via text/orgPriority LOW 22

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat OpenShift GitOpsAffectedNo fix planned: Will not fix
Cluster Observability Operator 1.5Fixed RHSA-2026:74609
Red Hat Hardened ImagesFixed RHSA-2026:66266
Not affected: 4 products
  • Cluster Observability Operator 1.5
  • Red Hat Enterprise Linux 10
  • Red Hat Hardened Images
  • Red Hat OpenStack Platform 18.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-100690
  2. 2026-10-03 Alias added: GHSA-gqg5-5gw3-54pq
  3. 2026-10-27 Affected versions changed · Red Hat
  4. 2026-11-05 Fix available: Cluster Observability Operator 1.5 · Red Hat

References

  • TI-2026-64848 Hugo before v0.166.0 Path Traversal via Symlinked Mount Roots 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-32270 Hugo: Node tool execution allows file system access outside the project directory CVSS 4.0MEDIUM 6.2
  • TI-2026-36906 Hugo: Symlink confinement bypass in resources.Get CVSS 4.0MEDIUM 6.9
See all 15 →

Sources