
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
- Severity
- Medium · CVSS 6.8
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | hugo | sid | 0.168.0-3 | fixed |
| Debian | hugo | forky | 0.167.0-7 | fixed |
| Debian | hugo | trixie | 0.131.0-1 | not affected |
| Debian | hugo | bookworm | 0.111.3-1 | not affected |
| Cpe | hugo | Not reported | Not reported | vulnerable |
| Cpe | hugo | Not reported | 0.163.1 | fixed |
| Cpe | hugo | Not reported | 0.163.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | hugo | source | sid | 0.165.0-1 | not yet assigned | Not reported | [1141772] |
| Debian | hugo | source | forky | 0.165.0-1 | not yet assigned | Not reported | [1141772] |
| Debian | hugo | source | trixie | Not affected | unimportant | Not reported | [1141772] |
| Debian | hugo | source | bookworm | Not affected | unimportant | Not reported | [1141772] |
| Cpe | hugo | cpe | Not reported | 0.163.1 | Not reported | Not reported | Not reported |
| Cpe | hugo | cpe | Not reported | 0.163.1 | Not reported | NVD-CVE-2026-58404 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [hugo]Not affected
Details (2)
0.111.3-1· amd64 · bookwormNot affected
nvd · hugo · debian · bookworm
0.111.3-1· arm64 · bookwormNot affected
nvd · hugo · debian · bookworm
Observed:
References
- [https://github.com/gohugoio/hugo/commit/a00b5c72ac57afe26df6688ece3ca544a56df372]
- [https://github.com/gohugoio/hugo/pull/15020]
- [https://github.com/gohugoio/hugo/releases/tag/v0.163.1]
- [https://github.com/gohugoio/hugo/security/advisories/GHSA-r46f-3rpw-hxrv]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-58404]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-58404]
- [https://security-tracker.debian.org/tracker/CVE-2026-58404]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-58404.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]