Vulnerability · Published Sep 26, 2026 · Assigned by VulnCheck

CVE-2026-100692Hugo before v0.166.0 Path Traversal via Symlinked Mount Roots

High 7.5

In plain English

A high-severity security flaw in hugo from gohugoio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 63.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13hugono fix listedDEBIAN-CVE-2026-100692
Debian:14hugo0.166.0-1DEBIAN-CVE-2026-100692
Ubuntu:22.04:LTShugono fix listedUBUNTU-CVE-2026-100692
Ubuntu:26.04:LTShugono fix listedUBUNTU-CVE-2026-100692
Ubuntu:26.10hugono fix listedUBUNTU-CVE-2026-100692

Affected products (as reported)

VendorProductVersions
gohugoio hugo 0 – before 0.166.0

Weakness: CWE-59 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References