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
Not known to be exploited · CVSS 6.7 Medium.
Data as of 24 Nov 2026, 22:28 UTC
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10hugopkg:deb/ubuntu/hugo?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=bionicOther threats | Affected
| 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
- ubuntu.com/security/CVE-2026-109595 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-109595 (opens in a new tab)
- github.com/gohugoio/hugo/security/advisories/GHSA-r4xx-89rf-5424 (opens in a new tab)
- vulncheck.com/advisories/hugo-0.84.0-before-0.167.0-path-traversal-via-js-build-esbuild-resolver (opens in a new tab)