What’s Vulnerable › Vulnerabilities
CVE-2026-109595: Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-12 · updated 2026-10-16
- Weakness: CWE-22
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.
Affected products
- gohugoio hugo: from 0.84.0 before 0.167.0 — fixed in 0.167.0
How to fix
Upgrade to a fixed version: gohugoio hugo 0.167.0. Check the vendor advisory for mitigations.
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-r4xx-89rf-5424
- https://www.vulncheck.com/advisories/hugo-0.84.0-before-0.167.0-path-traversal-via-js-build-esbuild-resolver
Get alerted when CVE-2026-109595 or the next vulnerability affects your stack