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.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.1%top 96.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12hugono fix listedDEBIAN-CVE-2026-109595
Debian:13hugono fix listedDEBIAN-CVE-2026-109595
Debian:14hugo0.167.0-1DEBIAN-CVE-2026-109595
Ubuntu:22.04:LTShugono fix listedUBUNTU-CVE-2026-109595
Ubuntu:26.04:LTShugono fix listedUBUNTU-CVE-2026-109595
Ubuntu:26.10hugono fix listedUBUNTU-CVE-2026-109595

Affected products (as reported)

VendorProductVersions
gohugoio hugo 0.84.0 – before 0.167.0

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

References