{"cve":"CVE-2026-50134","nvd":{"published":"2026-07-06T20:16:37.197","modified":"2026-10-25T20:10:00.147","status":"Analyzed","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.","cvss_v4":{"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},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","score":5.8},"cwes":["CWE-918"],"references":["https://github.com/gohugoio/hugo/commit/86fbb0f7a8bbb93e2e916390de9e5a4f24bf9f50","https://github.com/gohugoio/hugo/releases/tag/v0.162.0","https://github.com/gohugoio/hugo/security/advisories/GHSA-vxgm-5rmg-5w8g"],"products":["gohugo:hugo"],"source":"nvd","synced_at":"2026-10-25T23:44:34.550481224+00:00"},"epss":{"cve":"CVE-2026-50134","score":0.00396,"percentile":0.33532,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-vxgm-5rmg-5w8g","url":"https://osv.dev/vulnerability/GHSA-vxgm-5rmg-5w8g","summary":"Hugo: security.http.urls allow-list bypass via HTTP redirects","modified":"2026-07-07T20:41:30.298194307Z","packages":[{"ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[">=0.91.0 <0.162.0"],"fixed":["0.162.0"]}]},{"id":"GO-2026-5681","url":"https://osv.dev/vulnerability/GO-2026-5681","summary":"Hugo: security.http.urls allow-list bypass via HTTP redirects in github.com/gohugoio/hugo","modified":"2026-07-07T20:30:17.537442937Z","packages":[{"ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[">=0.91.0 <0.162.0"],"fixed":["0.162.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}