CVE-2026-109595
JSON

6.7medium

Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver

Severity
6.7medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
gohugoio hugofrom 0.84.0 before 0.167.0
Not affected: 0.167.0
CVE List

All scores

VulnCheck6.7medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-109595 changed 2026-10-15CVE Terms of Use
NVDCVE-2026-109595 changed 2026-10-16Public domain