CVE-2026-50134: Hugo is a static site generator
Affects hugoSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium · fixed in 0.162.0 : update hugo when convenient.
Data as of 24 Nov 2026, 20:42 UTC
- Patch
- Available – fixed in 0.162.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10hugopkg:deb/ubuntu/hugo?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10hugopkg:deb/ubuntu/hugo?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTShugopkg:deb/ubuntu/hugo?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Hugo is a static site generator. From 0.91.0 until 0.162.0, resources.GetRemote enforces security.http.urls on the URL it is called with, but it did not re-validate intermediate URLs on HTTP 3xx redirects. An allowed server (or an attacker controlling its DNS or response) could therefore redirect the request to a host that the policy was meant to forbid and Hugo would fetch from the redirected target. The same bypass also lifted any host-shape restriction the operator had put in place. This vulnerability is fixed in 0.162.0.
References
- ubuntu.com/security/CVE-2026-50134 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-50134 (opens in a new tab)
- github.com/gohugoio/hugo/security/advisories/GHSA-vxgm-5rmg-5w8g (opens in a new tab)
- github.com/gohugoio/hugo/commit/86fbb0f7a8bbb93e2e916390de9e5a4f24bf9f50 (opens in a new tab)
- github.com/gohugoio/hugo/releases/tag/v0.162.0 (opens in a new tab)