Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-109595

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-109595

hugo

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "gohugoio",
    "product": "hugo",
    "versions": [
      {
        "status": "affected",
        "version": "0.84.0",
        "lessThan": "0.167.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "0.167.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:golang/github.com/gohugoio/hugo",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-109595

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#28785 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement