CVE-2026-50135
Last modified
CVE-2026-50135 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gohugo | Hugo | >= 0.123.0, < 0.161.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-50135?
How severe is CVE-2026-50135?
How do I fix CVE-2026-50135?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5013A vulnerability has been found in elecV2 elecV2P up to 3.8.3…5.5
- CVE-2026-50130Pi-hole is a DNS sinkhole that protects devices from unwante…8.8
- CVE-2026-50131Fedify is a TypeScript library for building federated server…8.6
- CVE-2026-50132Budibase is an open-source low-code platform. Prior to 3.39.…7.3
- CVE-2026-50133Hugo is a static site generator. Prior to 0.162.0, Hugo acce…6.1
- CVE-2026-50134Hugo is a static site generator. From 0.91.0 until 0.162.0, …5.8
- CVE-2026-50136Budibase is an open-source low-code platform. Prior to 3.39.…5.3
- CVE-2026-50137Budibase is an open-source low-code platform. Prior to 3.39.…9.4
- CVE-2026-5014A vulnerability was found in elecV2 elecV2P up to 3.8.3. The…5.5
- CVE-2026-50141Woodpecker is a CI/CD engine. Starting in version 3.0.0 and …7.1
- CVE-2026-50144ncnn is a high-performance neural network inference framewor…7.1
- CVE-2026-50146Astro is a web framework. Prior to 6.3.3, when a component u…6.1
Are you affected by CVE-2026-50135?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
