Skip to main content
VulnerabilityPublished Updated

CVE-2026-109595: gohugoio hugo · Path Traversal

Affects gohugoio hugoSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.7 Medium : upgrade to 0.167.0 when convenient.

Data as of 26 Nov 2026, 14:58 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 Nov 2026.

What to do

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

Affected software

ProductAffectedFixed in
gohugoiohugoAffected
  • >=0.84.0 <0.167.0
Fixed in
  • 0.167.0
Gogithub.com/gohugoio/hugopkg:golang/github.com/gohugoio/hugoOther threatsAffected
  • >=0.84.0 <0.167.0
Fixed in
  • 0.167.0

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

AI-suggested

If you cannot patch yet, avoid using untrusted themes or modules in Hugo builds to prevent exploitation of this path traversal vulnerability.

Description

Hugo versions from 0.84.0 up to but not including 0.167.0 contain a path traversal vulnerability. This flaw allows malicious themes or modules to read files outside the project root directory by exploiting ESBuild's fallback resolver in js.Build, js.Batch, and css.Build. Attackers can use relative imports or symlinks pointing outside the project to include any file readable by the build user into the generated JavaScript or CSS output.

References

Community reviews

Loading reviews…