Description
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.
Published: 2026-09-26
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Read
Action: Patch Immediately
AI Analysis

Impact

Hugo versions 0.161.0 through 0.165.0 validate only the lexical path of files processed by Node.js tools such as css.PostCSS, css.TailwindCSS, and js.Babel. Because the permission model follows symbolic links without validating that the final target remains inside the allowed project directory, a build that includes a symlink pointing outside the sandbox can read any file that the Hugo build process can access. An attacker who can submit content— for example, via a pull request— can add a symlink like assets/css/x.css that points to /etc/passwd and combine it with a PostCSS plugin that reads the file. This results in disclosure of arbitrary files and allows the attacker to embed their contents into the published site. The core weakness is a path traversal flaw, identified as CWE‑59, and the primary impact is a breach of confidentiality.

Affected Systems

Hugo users running any of the vulnerable releases between v0.161.0 and v0.165.0 (inclusive), which execute Node.js tools under their default security configuration. Projects that do not invoke the affected Node.js utilities are not impacted. The vulnerability does not affect earlier or later versions; it is mitigated in v0.166.0 and later, which scan allowed paths and reject any symbolic link that resolves outside them.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity vulnerability. The EPSS score is currently unavailable, and CISA has not listed the exploit in its KEV catalog. Nonetheless, the attack requires only the ability to contribute content to a Hugo project—a common privilege in collaborative sites—making it a realistic threat. Once a malicious symlink is incorporated into a build, the compromised Node.js tool will automatically read the target file, enabling an attacker to obtain sensitive data with no additional steps.

Generated by OpenCVE AI on September 26, 2026 at 16:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Hugo to version 0.166.0 or later, where symbolic‑link resolution is verified and disallowed when it points outside the project mount paths.
  • If an upgrade is not immediately possible, remove or disable the Node.js tools that trigger the vulnerability (css.PostCSS, css.TailwindCSS, js.Babel) from the build pipeline so that no external files are read.
  • Audit any submitted content for symbolic links that escape the project directory, and reject or sanitize such links before inclusion in the build.

Generated by OpenCVE AI on September 26, 2026 at 16:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Moderate


Sat, 26 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Hugo v0.161.0 to v0.165.0 Arbitrary File Read via Symlinks
First Time appeared Gohugo
Gohugo hugo
Weaknesses CWE-59
CPEs cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:*
Vendors & Products Gohugo
Gohugo hugo
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-30T15:04:40.978Z

Reserved: 2026-09-26T02:37:41.037Z

Link: CVE-2026-100690

cve-icon Vulnrichment

Updated: 2026-09-30T15:04:37.445Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-26T14:16:53.560

Modified: 2026-09-30T16:17:00.597

Link: CVE-2026-100690

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-26T13:23:49Z

Links: CVE-2026-100690 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T22:28:33Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')