# CVE-2026-89258: Hugo before v0.165.0 Symlink Confinement Bypass via resources.Get

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.165.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-11 · Modified: 2026-09-11
- Aliases: UBUNTU-CVE-2026-89258, DEBIAN-CVE-2026-89258
- Record: https://cvemate.com/vulnerability/CVE-2026-89258 · JSON: https://cvemate.com/vulnerability/CVE-2026-89258/json

## Description

```text
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.
```

## Signals

- CVSS: 9.3 critical (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.315%, percentile 26.348%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian hugo (Debian): All versions (No fix recorded) \| \< 0.165.0-1
- ubuntu hugo (Ubuntu): All versions (No fix recorded)
- gohugoio hugo: \< 0.165.0

## References

- <https://github.com/gohugoio/hugo/security/advisories/GHSA-vrv5-r5rf-6v4j>
- <https://www.vulncheck.com/advisories/hugo-before-0.165.0-symlink-confinement-bypass-via-resources-get>
- <https://ubuntu.com/security/CVE-2026-89258>
- <https://www.cve.org/CVERecord?id=CVE-2026-89258>
- <https://security-tracker.debian.org/tracker/CVE-2026-89258>

---

Data as of 2026-12-05T12:34:31.115Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
