Vulnerability in Gohugoio Hugo
CVE-2026-89258
Hugo is a static site generator. In versions after v0.123.0 and before v0.165.0, symlinks in parent directories were not dropped during direct resource lookups, allowing path confinement to be bypassed. An attacker who can place — or who convinces a site author to place — a symlink inside a mounted directory (for example, in a locally vendored theme under themes/) can cause functions that perform direct lookups, such as resources.Get and os.ReadFile, to follow that symlink and read files outside the intended project boundaries, disclosing their contents in the built site. Themes mounted as Go modules fetched from GitHub have symlinks stripped on download and are not affected, and multi-directory walks (e.g. content/asset walking) are not affected. This issue is an incomplete-fix follow-up to GHSA-c3wq-j5vh-68rc and GHSA-fw87-fv5r-9fpw; it is fixed in v0.165.0.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (40.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 40.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
Weakness classification (CWE)
References
- github.com/gohugoio/hugo/security/advisories/GHSA-vrv5-r5rf-6v4j (vendor-advisory)
- www.vulncheck.com/advisories/hugo-before-0.165.0-symlink-confinement-bypass-via… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-89258?
- CVE-2026-89258 is a medium-severity vulnerability in Gohugoio Hugo, classified under Improper Link Resolution Before File Access. CVSS score: 6.3/10. Published 2026-09-11.
- How severe is CVE-2026-89258?
- Medium severity. CVSS v3 base score is 6.3 out of 10.