CVE-2026-50135
gohugo hugo
Patch priority
RegularFix with the next regular update.
- CVSS
- 5.5
- Severity
- 5.5
- EPSS
- 0.3 %
- Percentile
- 21
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run gohugo hugo. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDHugo 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.
- Vendor / product
- gohugo hugo
- Published
- 06.07.2026
- Modified
- 25.10.2026
- CWE
- CWE-59
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Vendor updates
1- Red Hat: RHSA-2026:24577 – RHSA-2026:24577 hugo-0:0.162.1-1.hum1@aarch64 security update 08.06.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.