CVE-2026-50134

EUVD-2026-41916
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.
SSRF
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.8 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 16.61%
Affected Products (NVD)
VendorProductVersion
gohugohugo
0.91.0 ≤
𝑥
< 0.162.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
hugo
bookworm
postponed
bullseye
0.80.0-6
fixed
bullseye (security)
0.80.0-6+deb11u1
fixed
forky
0.162.1-7
fixed
sid
0.162.1-7
fixed
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
hugo
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage