Bug 2497451 (CVE-2026-50134) - CVE-2026-50134 github.com/gohugoio/hugo: Hugo: Security policy bypass via HTTP redirect manipulation
Summary: CVE-2026-50134 github.com/gohugoio/hugo: Hugo: Security policy bypass via HTT...
Keywords:
Status: NEW
Alias: CVE-2026-50134
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-06 20:01 UTC by OSIDB Bzimport
Modified: 2026-07-28 06:50 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-06 20:01:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.