Skip to content
Fencer Vulns
medium 5.8

CVE-2026-50134 json

Hugo: security.http.urls allow-list bypass via HTTP redirects

published 2026-06-16 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-41916 , GHSA-vxgm-5rmg-5w8g , GO-2026-5681 , JLSEC-2026-795

cvss
5.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 34%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/gohugoio/hugo 0.162.0
  • julia Hugo_jll 0.163.3+0
  • gohugo hugo 0.162.0
  • hugo Debian 14 0.162.1-1

debian advisories DEBIAN-CVE-2026-50134

  • hugo hummingbird 1 0.162.1-1.hum1

red hat advisories RHSA-2026:24577

  • govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1

opensuse advisories openSUSE-SU-2026:21483-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-50134 updated cvss 5.8

github.com/gohugoio/hugo: Hugo: Security policy bypass via HTTP redirect manipulation

  • Red Hat Hardened Images hugo 0.162.1-1.hum1
    fixed: vendor fix RHSA-2026:24577

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4 mo ago

Exploit prediction

0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 6.3 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
CNA 4.0 6.3 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/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
NVD 3.1 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
OSV 3.1 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
go github.com/gohugoio/hugo
>=0.91.0, <0.162.0
0.162.0
julia Hugo_jll
<0.163.3+0
0.163.3+0

Affected products

  • gohugoio hugo

Classification

Weakness
  • CWE-918 Server-Side Request Forgery

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.