Skip to main content
VulnerabilityPublished

CVE-2026-89258: gohugoio hugo · Link Following

Affects gohugoio hugoSource CVE Database V5

0

Not known to be exploited · CVSS 9.3 Critical : upgrade to 0.165.0 as a priority.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 4.0 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.165.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade hugo and github.com/gohugoio/hugo to 0.165.0.

Affected software

ProductAffectedFixed in
gohugoiohugoAffected
  • <0.165.0
Fixed in
  • 0.165.0
Gogithub.com/gohugoio/hugopkg:golang/github.com/gohugoio/hugoOther threatsAffected
  • <0.165.0
Fixed in
  • 0.165.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Hugo to version 0.165.0 or later, where this vulnerability is fixed. Avoid using locally vendored themes or directories containing symlinks from untrusted sources. Themes fetched as Go modules from GitHub are not affected due to symlink stripping. No other mitigation is indicated by the vendor advisory.

Description

CVE-2026-89258 is a critical vulnerability in the Hugo static site generator affecting versions before 0.165.0. It allows symlinks in parent directories to bypass path confinement during direct resource lookups, potentially exposing files outside the intended project boundaries. This can lead to unauthorized disclosure of file contents in the built site. The issue does not affect themes fetched as Go modules from GitHub or multi-directory walks. The vulnerability is fixed in version 0.165.0.

References

Community reviews

Loading reviews…