CVE-2026-109595
published medium CVSS 4.0 · 6.7Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gohugoio | — | hugo0.84.0 to < 0.167.0 (affected · semver) · 0.167.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.7 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gohugoio | hugo | 0.84.0 to < 0.167.0 (affected · semver)0.167.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2- GitHub Security Advisory (GHSA-r4xx-89rf-5424) https://github.com/gohugoio/hugo/security/advisories/GHSA-r4xx-89rf-5424
- VulnCheck Advisory: Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver https://www.vulncheck.com/advisories/hugo-0.84.0-before-0.167.0-path-traversal-via-js-build-esbuild-resolver
Provider assertions
2VulnCheck · cna
Hugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a4d08f3d224664d22342c486b4724bcf5366401007809dc12cd0de4c22c3e11f
- Ingested
- 15 Oct 2026, 14:30:37 UTC
- Source record
- Official CVE record