Skip to main content
CVE-2026-109595VulnerabilityPublished Updated

Hugo from v0.84.0 before v0.167.0 contains a path traversal vulnerability that allows malicious themes or modules to read files outside the project root via ESBuild's fallback resolver in js.Build, js.Batch, and css.Build

Affects hugoSource GCVE Database

0
Compare
Authoritative record:CVE-2026-109595· Medium 6.7

Not known to be exploited · CVSS 6.7 Medium.

Data as of 24 Nov 2026, 22:28 UTC

CVSS 4.0 base score
6.7Medium
How severe the flaw is on the 0–10 CVSS scale.
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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10hugopkg:deb/ubuntu/hugo?arch=source&distro=stonkingOther threatsAffected
  • =0.154.5-1
  • =0.162.1-5
  • =0.162.1-7
Fixed in–
Ubuntu 26.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=resoluteOther threatsAffected
  • 0.131.0-1 – 0.154.5-1
7 affected builds
Fixed in–
Ubuntu Pro 24.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 0.113.0-3 – 0.123.7-1ubuntu0.3+esm2
13 affected builds
Fixed in–
Ubuntu 22.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=jammyOther threatsAffected
  • 0.80.0-6 – 0.92.2-1ubuntu0.1
10 affected builds
Fixed in–
Ubuntu 20.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=focalOther threatsAffected
  • 0.57.2-1 – 0.68.3-1
4 affected builds
Fixed in–
Ubuntu 18.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=bionicOther threatsAffected
  • 0.25.1-2 – 0.40.1-1
8 affected builds
Fixed in–

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

Description

Hugo from v0.84.0 before v0.167.0 contains a path traversal vulnerability that allows malicious themes or modules to read files outside the project root via ESBuild's fallback resolver in js.Build, js.Batch, and css.Build. Attackers can ship relative imports or symlinks pointing outside the project to bundle any file readable by the build user into published JavaScript or CSS output.

References

Community reviews

Loading reviews…