CVE-2026-109595
Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver
- State
- Published
- Severity
- 6.7 Medium
- Published
- Oct 12, 2026
- Updated
- Oct 15, 2026
- Reserved
- Oct 12, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.7 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 5.5 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
hugogohugoio |
|
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 Resolverthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.