CVE-2026-50135: Hugo is a static site generator
CVE-2026-50135 is a medium-severity flaw (CVSS 5.5) affecting hugo. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 we
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 65%) |
| CISA exploited list | No |
| Weakness | CWE-59 |
| Published | 2026-07-06 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-50135?
hugo: upgrade to 0.161.1. Exact commands for each OS are on this page.
Is CVE-2026-50135 being exploited?
CVE-2026-50135 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-50135 affect?
CVE-2026-50135 affects hugo. Severity is medium (CVSS 5.5). 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
How urgent is CVE-2026-50135?
Priority 28/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-50134 MEDIUM 5.8 UPGRADE Hugo is a static site generator
- CVE-2026-58403 MEDIUM 6.5 UPGRADE Hugo is a static site generator
- CVE-2026-58404 MEDIUM 6.8 UPGRADE Hugo is a static site generator
- CVE-2026-50133 MEDIUM 6.1 UPGRADE Hugo is a static site generator
- CVE-2026-58402 MEDIUM 5.4 UPGRADE Hugo is a static site generator