GHSA-fw87-fv5r-9fpw · Severity: medium · Ecosystem: go — Hugo: Symlink confinement bypass in resources.Get
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.
Conclusion & alert: CVE-2026-50135 is rated Low Risk (34.3/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.27%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-07-09 | 0.36% | 0.27% | -0.08% |
| 2 | 2026-07-07 | 0.02% | 0.36% | +0.33% |
| 3 | 2026-06-12 | — | 0.02% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.9 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 5.5 | 3.1 | MEDIUM |
|
1.8 | 3.6 | [email protected] |
GHSA-fw87-fv5r-9fpw · Severity: medium · Ecosystem: go — Hugo: Symlink confinement bypass in resources.Get
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-50135 not yet assigned priority: Debian including 1 source packages (hugo), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 4, resolved 1. | https://security-tracker.debian.org/tracker/CVE-2026-50135 |
ubuntu
|
medium | CVE-2026-50135 medium priority: Ubuntu including 1 source packages (hugo), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, resolute, upstream): needs-triage 5, ignored 1, released 1. | https://ubuntu.com/security/CVE-2026-50135 |
| URL | Tags |
|---|---|
| https://github.com/gohugoio/hugo/commit/f8b5fa09a64950c32b803821ede411ebfe772b7a | Patch |
| https://github.com/gohugoio/hugo/releases/tag/v0.162.0 | Product Release Notes |
| https://github.com/gohugoio/hugo/security/advisories/GHSA-fw87-fv5r-9fpw | Patch Vendor Advisory |