Vulnerability · Published Oct 12, 2026 · Assigned by VulnCheck
CVE-2026-109595Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver
Medium 5.5
In plain English
A medium-severity path traversal in hugo from gohugoio. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | hugo | no fix listed | DEBIAN-CVE-2026-109595 |
| Debian:13 | hugo | no fix listed | DEBIAN-CVE-2026-109595 |
| Debian:14 | hugo | 0.167.0-1 | DEBIAN-CVE-2026-109595 |
| Ubuntu:22.04:LTS | hugo | no fix listed | UBUNTU-CVE-2026-109595 |
| Ubuntu:26.04:LTS | hugo | no fix listed | UBUNTU-CVE-2026-109595 |
| Ubuntu:26.10 | hugo | no fix listed | UBUNTU-CVE-2026-109595 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
References
- GitHub Security Advisory (GHSA-r4xx-89rf-5424) vendor-advisory
- VulnCheck Advisory: Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver third-party-advisory