---
cve: "CVE-2026-50135"
severity: "MEDIUM"
cvss: 6.9
epss: "0.4%"
vendor: "gohugoio"
kev: false
exploited: false
published: "2026-07-06 21:16:56"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-10-02T04:16:38+02:00"
---

# CVE-2026-50135

> 6.9 MEDIUM · 🧪 PoC

## Beschreibung

Hugo is a static site generator. From 0.123.0 to 0.161.1, a regression made  RootMappingFs.statRoot  use  Stat  (follows symlinks) instead of  Lstat , so a direct  resources.Get  of a symlink pointing outside its mount returned the target's contents — letting a symlink planted in a local mount (e.g. a vendored  themes/  theme) read arbitrary files accessible to the Hugo user. Go-module themes from GitHub (symlinks stripped) and directory walks were unaffected. Fixed in 0.162.0.

## CISA-Anreicherung (vulnrichment/ADP)

- CISA-SSVC (Coordinator, v2.0.3):
  - Exploitation: **none**
  - Automatable: **no**
  - Technical Impact: **partial**

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |

## Patch verfügbar (OSV)

- ea8f66a7ce988664dcc84c052fc96757042e2e4a (Commit)
- f8b5fa09a64950c32b803821ede411ebfe772b7a (Commit)

## Referenzen

- <https://github.com/gohugoio/hugo/security/advisories/GHSA-fw87-fv5r-9fpw>
- <https://github.com/gohugoio/hugo/commit/f8b5fa09a64950c32b803821ede411ebfe772b7a>
- <https://github.com/gohugoio/hugo/releases/tag/v0.162.0>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-50135) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
