CVE-2026-109595GHSA-r4xx-89rf-5424
Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver
gohugoio hugo
CVSS
6.7MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.14%Chance of exploitation activity in the next 30 days, higher than 3% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 0.167.0hugoCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 2
- hugoaffected: 0.84.0 before 0.167.0CVE List
- hugounaffected: 0.167.0CVE List