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.
CVE-2026-50135
This medium-severity CVE scores 5.5 under NVD CVSS v3. EPSS exploit probability: 0.3%, top 81% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.5
- EG Score
- 5.5(medium)
- EPSS
- 19.6%
- KEV
- Not listed
Published
June 16, 2026
Last Modified
July 8, 2026
Advisory Details (3)
Auto-updated Jul 7, 2026v0.162.0
Patch available: gohugoio/hugo v0.162.0
https://github.com/gohugoio/hugo/releases/tag/v0.162.0commit f8b5fa09a649 (gohugoio/hugo)
Fix landed in gohugoio/hugo commit f8b5fa09a649 — awaiting tagged release
https://github.com/gohugoio/hugo/commit/f8b5fa09a64950c32b803821ede411ebfe772b7aSymlink confinement bypass in resources.Get · Advisory · gohugoio/hugo · GitHub
https://github.com/gohugoio/hugo/security/advisories/GHSA-fw87-fv5r-9fpwVendor Advisories for CVE-2026-50135(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/gohugoio/hugo | — | 0.162.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 27× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 20:28 UTCEG score recompute▼ 1.40
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:13 UTCNVD updateCVSS v3 → 5.5
- 2026-07-07 13:46 UTCEPSS rescore
Show 3 moreShow fewer
- 2026-07-06 20:31 UTCEG score recompute▲ 6.90
- 2026-07-06 20:29 UTCMITRE cvelistV5CVSS v3 → 6.9 · CVSS v4 → 6.9
- 2026-06-16 20:44 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-50135?
When was CVE-2026-50135 disclosed?
Is CVE-2026-50135 actively exploited?
What is the CVSS score of CVE-2026-50135?
How do I remediate CVE-2026-50135?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-50135
Is Your Infrastructure Affected by CVE-2026-50135?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.