CVE-2026-100692Hugo before v0.166.0 Path Traversal via Symlinked Mount Roots
Updated under an hour ago ()
Does this affect you?
It affects gohugoio hugo and 1 other product. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.42%, higher than 34% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weakness (CWE)
- CWE-59
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.42% (percentile 34)
- Assigned by
- VulnCheck
- NVD analysis
- Analyzed
- Record last updated
- Sep 28, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
gohugoio hugo gohugoio:hugo (from the name) | before 0.166.0; 0.166.0 not affected | CNA record |
gohugo hugo gohugo:hugo | from 0.123.0 before 0.166.0 | NVD |
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-797m-7j5g-3rprvendor-advisory
- https://www.vulncheck.com/advisories/hugo-before-0.166.0-path-traversal-via-symlinked-mount-rootsthird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.