CVE catalog

CVE-2026-58404

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 m

[CVE catalog]

Severity
Medium · CVSS 6.8CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.37% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianhugosid0.168.0-3fixed
Debianhugoforky0.167.0-7fixed
Debianhugotrixie0.131.0-1not affected
Debianhugobookworm0.111.3-1not affected
CpehugoNot reportedNot reportedvulnerable
CpehugoNot reported0.163.1fixed
CpehugoNot reported0.163.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianhugosourcesid0.165.0-1not yet assignedNot reported[1141772]
Debianhugosourceforky0.165.0-1not yet assignedNot reported[1141772]
DebianhugosourcetrixieNot affectedunimportantNot reported[1141772]
DebianhugosourcebookwormNot affectedunimportantNot reported[1141772]
CpehugocpeNot reported0.163.1Not reportedNot reportedNot reported
CpehugocpeNot reported0.163.1Not reportedNVD-CVE-2026-58404Not reported

[Debian bug #1141772]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [hugo]Not affected
    Details (2)
    • 0.111.3-1 · amd64 · bookworm

      Not affected

      nvd · hugo · debian · bookworm

    • 0.111.3-1 · arm64 · bookworm

      Not affected

      nvd · hugo · debian · bookworm

Observed:

References