CVE-2026-109595
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.
How to fix
- gohugoio hugo0.167.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gohugoio hugo | 0.84.0 ≤ v < 0.167.0 | 0.167.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.