# NVD CVE: 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, — retained record

> Retained nvd record from nvd:github.

Canonical: https://highsignal.app/data/records/782e217214e158a4

[← sources](https://highsignal.app/data)


source: [nvd](https://highsignal.app/data/nvd) (nvd:github)  published 2026-09-11 12:16 ingested 2026-09-12 02:36

[original source ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-89258)

## retained text



```
CVSS: 6.3 MEDIUM
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.
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
```



document fetched 2026-09-25 02:35
