{"id":"CVE-2026-50134","revision":"f947dd491cc84cabb4d4f582a7607502","records":[{"revision":"f947dd491cc84cabb4d4f582a7607502","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-50134","aliases":[],"title":"Hugo: security.http.urls allow-list bypass via HTTP redirects","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.","state":0,"publishedAt":"2026-07-06T19:42:49.28+00:00","modifiedAt":"2026-07-07T16:57:36.713+00:00","affected":[{"ecosystem":"Vendor product","name":"hugo","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gohugoio\",\n                    \"product\": \"hugo\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 0.91.0, < 0.162.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":6.3,"severity":"MEDIUM"}],"references":["https://github.com/gohugoio/hugo/security/advisories/GHSA-vxgm-5rmg-5w8g","https://github.com/gohugoio/hugo/commit/86fbb0f7a8bbb93e2e916390de9e5a4f24bf9f50","https://github.com/gohugoio/hugo/releases/tag/v0.162.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-50134","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-50134","identifiers":["CVE-2026-50134"]},"retained":false,"historicalAffected":[]}],"coverage":[]}