{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-58404","published":"2026-07-06T20:16:38.307000Z","last_modified":"2026-10-25T20:10:00.147000Z","status":"Analyzed","cvss":{"version":"4.0","score":4.6,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/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","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-918"],"cpes":[{"criteria":"cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:*","part":"a","vendor":"gohugo","product":"hugo","version_start_including":"0.162.0","version_end_excluding":"0.163.1"}],"cpes_truncated":false,"vendors":["gohugo"],"products":["gohugo/hugo"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-r46f-3rpw-hxrv","ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[{"introduced":"0.162.0","fixed":"0.163.1"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5606","ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[{"introduced":"0.162.0","fixed":"0.163.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":28,"links":{"html_es":"/es/cve/CVE-2026-58404/","html_en":"/en/cve/CVE-2026-58404/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-58404","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-58404"},"untrusted":{"vendor_name":"Gohugo","product_name":"Hugo","desc_en":"Hugo is a static site generator. From v0.162.0 through v0.163.0, the default security.http.urls policy denies requests to loopback, internal, and cloud-metadata IPv4 literals, but the deny rule only matched dotted-decimal notation, so alternate IPv4 encodings of the same addresses, including integer, hex, or octal, passed the policy. When a template passes an untrusted or data-derived URL to resources.GetRemote and the host platform uses the cgo system resolver, these encodings resolve to the blocked address, allowing build-time server-side requests to loopback and internal services, including the cloud-metadata endpoint in hosted or CI builds; the same check is reused on redirects, so the gap also applies to each redirect hop. This issue is fixed in v0.163.1.","affected":[{"untrusted_vendor":"gohugoio","untrusted_product":"hugo","versions":[]}],"references":[{"url":"https://github.com/gohugoio/hugo/commit/a00b5c72ac57afe26df6688ece3ca544a56df372","tags":["Patch"]},{"url":"https://github.com/gohugoio/hugo/pull/15020","tags":["Issue Tracking"]},{"url":"https://github.com/gohugoio/hugo/releases/tag/v0.163.1","tags":["Release Notes"]},{"url":"https://github.com/gohugoio/hugo/security/advisories/GHSA-r46f-3rpw-hxrv","tags":["Mitigation","Vendor Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:36862","url":"https://access.redhat.com/errata/RHSA-2026:36862","published":"2026-07-29T10:09:26+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update"}}]}