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.
CVE-2026-58404
This medium-severity CVE scores 6.8 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 89% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.8
- EG Score
- 6.8(medium)
- EPSS
- 10.9%
- KEV
- Not listed
Published
July 6, 2026
Last Modified
July 8, 2026
Advisory Details (4)
Auto-updated Jul 7, 2026security.http.urls deny rules bypassed by alternate IPv4 encodings (SSRF) · Advisory · gohugoio/hugo · GitHub
Affected: v0.163.1).
https://github.com/gohugoio/hugo/security/advisories/GHSA-r46f-3rpw-hxrvv0.163.1
Patch available: gohugoio/hugo v0.163.1
https://github.com/gohugoio/hugo/releases/tag/v0.163.1Misc adjustments
Fix merged in gohugoio/hugo PR #15020 on 2026-06-10 — awaiting tagged release
https://github.com/gohugoio/hugo/pull/15020commit a00b5c72ac57 (gohugoio/hugo)
Fix landed in gohugoio/hugo commit a00b5c72ac57 — awaiting tagged release
https://github.com/gohugoio/hugo/commit/a00b5c72ac57afe26df6688ece3ca544a56df372Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/gohugoio/hugo | — | 0.163.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 17× in last 7d / 17× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-12 05:48 UTCEG score recompute
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 03:48 UTCEG score recompute
- 2026-07-10 01:47 UTCEG score recompute
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 23:47 UTCEG score recompute▲ 2.20
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 04:32 UTCNVD updateCVSS v3 → 6.8
- 2026-07-07 21:46 UTCEG score recompute
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 19:46 UTCEG score recompute
- 2026-07-06 19:44 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-918
Frequently asked(5)
What is CVE-2026-58404?
When was CVE-2026-58404 disclosed?
Is CVE-2026-58404 actively exploited?
What is the CVSS score of CVE-2026-58404?
How do I remediate CVE-2026-58404?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-58404
Is Your Infrastructure Affected by CVE-2026-58404?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.