CVE-2026-109595

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductHugo
PublishedOct 12, 2026
First seenOct 12, 2026

How to fix

Update
  • gohugoio hugo0.167.0 or later

Affected products

ProductAffected versionsFixed in
gohugoio hugo0.84.0 ≤ v < 0.167.00.167.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.