CVE catalog

CVE-2026-89258

Hugo is a static site generator. In versions after v0.123.0 and before v0.165.0, symlinks in parent directories were not dropped during direct resource lookups, allowing path confinement to be bypasse

[CVE catalog]

Severity
Critical · CVSS 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.47% · Oct 25, 2026

Hugo is a static site generator. In versions after v0.123.0 and before v0.165.0, symlinks in parent directories were not dropped during direct resource lookups, allowing path confinement to be bypassed. An attacker who can place — or who convinces a site author to place — a symlink inside a mounted directory (for example, in a locally vendored theme under themes/) can cause functions that perform direct lookups, such as resources.Get and os.ReadFile, to follow that symlink and read files outside the intended project boundaries, disclosing their contents in the built site. Themes mounted as Go modules fetched from GitHub have symlinks stripped on download and are not affected, and multi-directory walks (e.g. content/asset walking) are not affected. This issue is an incomplete-fix follow-up to GHSA-c3wq-j5vh-68rc and GHSA-fw87-fv5r-9fpw; it is fixed in v0.165.0.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianhugosid0.168.0-3fixed
Debianhugoforky0.167.0-7fixed
Debianhugotrixie0.131.0-1vulnerable
Debianhugobookworm0.111.3-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianhugosourcesid0.165.0-1not yet assignedNot reportedNot reported
Debianhugosourceforky0.165.0-1not yet assignedNot reportedNot reported
Debianhugosourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianhugosourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] hugo: Minor issue [bookworm] hugo: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [hugo]Affected
    Details (2)
    • 0.111.3-1 · amd64 · bookworm

      Affected

      nvd · hugo · debian · bookworm; nvd · hugo · debian · 12

    • 0.111.3-1 · arm64 · bookworm

      Affected

      nvd · hugo · debian · bookworm; nvd · hugo · debian · 12

[Debian 13 (Trixie)]

  • [hugo]Affected
    Details (2)
    • 0.131.0-1 · amd64 · trixie

      Affected

      nvd · hugo · debian · 13

    • 0.131.0-1 · arm64 · trixie

      Affected

      nvd · hugo · debian · 13

Observed:

References