Description
Hugo is a static site generator. In versions after v0.123.0 and before v0.166.0, Hugo's symlink confinement checks stopped at the mount root itself, so a theme or module checked into themes/ (or a vendored module) could contain a symlink at a mount root (for example themes/mytheme/assets -> /some/dir/outside). Files behind such a symlink were readable during a site build through resources.Get, resources.Match and similar functions, and could be published to public/ via static mounts, bypassing the rule that theme and module mount sources must be local paths. Modules fetched via Go modules are not affected because Go module zips cannot contain symlinks, and this is not an escalation for the main project, which may already mount absolute paths by configuration. Fixed in v0.166.0, where symlinked mount roots and symlinked directories between the mount root and the module directory are treated as non-existent for all modules. As a workaround, inspect themes/ and vendored modules for symlinks at mount roots before building, or replace symlinks with explicit mounts.
Published: 2026-09-26
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure via Path Traversal
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises from Hugo’s symlink checks stopping at the mount root, allowing a symlink within themes/ or a vendored module to point to any path on the host system. When a site build processes such a symlink through resources.Get or similar functions, files located outside the intended project directory become readable and can be published to public/ via static mounts. This flaw permits disclosure of arbitrary files present on the build machine and does not affect Go modules, which cannot contain symlinks.

Affected Systems

Versions of Hugo published after v0.123.0 and before v0.166.0 are affected. The issue manifests when a theme or module directory under themes/ contains a symlink at the mount root—for example, themes/mytheme/assets pointing to /some/dir/outside. The vulnerability is not triggered by Go-modules because their zip archives cannot contain symlinks. The problem is limited to builds that use the resources.* API to process such directories.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity risk, though the EPSS score is not available, so the exact likelihood of exploitation remains unclear. The flaw is not listed in the CISA KEV catalog, meaning no publicly known exploits are yet recorded. Attacks would likely occur in environments where an attacker can influence theme or module contents during a build, such as in a continuous‑integration pipeline or a shared build server. The main consequence is unauthorized reading of files from the build host, potentially exposing sensitive data.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Hugo to version 0.166.0 or newer.
  • Before building, inspect all themes/ and vendored modules for symlinks at mount roots and replace or remove them.
  • If upgrading immediately is not feasible, avoid using themes or modules that contain symlinks at mount roots and consider removing the problematic directories from the build.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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


Mon, 28 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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

Type Values Removed Values Added
Description Hugo is a static site generator. In versions after v0.123.0 and before v0.166.0, Hugo's symlink confinement checks stopped at the mount root itself, so a theme or module checked into themes/ (or a vendored module) could contain a symlink at a mount root (for example themes/mytheme/assets -> /some/dir/outside). Files behind such a symlink were readable during a site build through resources.Get, resources.Match and similar functions, and could be published to public/ via static mounts, bypassing the rule that theme and module mount sources must be local paths. Modules fetched via Go modules are not affected because Go module zips cannot contain symlinks, and this is not an escalation for the main project, which may already mount absolute paths by configuration. Fixed in v0.166.0, where symlinked mount roots and symlinked directories between the mount root and the module directory are treated as non-existent for all modules. As a workaround, inspect themes/ and vendored modules for symlinks at mount roots before building, or replace symlinks with explicit mounts.
Title Hugo before v0.166.0 Path Traversal via Symlinked Mount Roots
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-28T16:30:24.018Z

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

Link: CVE-2026-100692

cve-icon Vulnrichment

Updated: 2026-09-28T16:30:13.463Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-09-29T19:08:03.413

Link: CVE-2026-100692

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-100692 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-59

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