6.8

CVE-2026-58404: Hugo security.http.urls deny rules bypassed by alternate IPv4 encodings

Analyzed
AliasesUBUNTU-CVE-2026-58404DEBIAN-CVE-2026-58404GHSA-r46f-3rpw-hxrv
Published 06-07-2026Last modified 07-07-2026

Vulnerability summary

CVE-2026-58404 is a medium (CVSS 6.8) Server-Side Request Forgery vulnerability in gohugo hugo. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v3.1 (NVD)
EPSS score
0.21%
0%100%
Low · -0.16 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 06-07-2026
    PublishedVulnerability first disclosed.
  2. 07-07-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

Decrease -0.16 pp

From 0.37% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • hugo< 0.165.0-1
Github.com/gohugoio1 product
  • hugo≥ 0.162.0, < 0.163.1
Gohugo1 product
  • hugo≥ 0.162.0, < 0.163.1
Gohugoio1 product
  • hugo≥ v0.162.0, < v0.163.1
Ubuntu1 product
  • hugoAll versions (No fix recorded)

5 vendors · 5 products

References

8 links