
CVE catalog
CVE-2026-50134
Hugo is a static site generator. From 0.91.0 until 0.162.0, resources.GetRemote enforces security.http.urls on the URL it is called with, but it did not re-validate intermediate URLs on HTTP 3xx redir
- Severity
- Medium · CVSS 6.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
Hugo is a static site generator. From 0.91.0 until 0.162.0, resources.GetRemote enforces security.http.urls on the URL it is called with, but it did not re-validate intermediate URLs on HTTP 3xx redirects. An allowed server (or an attacker controlling its DNS or response) could therefore redirect the request to a host that the policy was meant to forbid and Hugo would fetch from the redirected target. The same bypass also lifted any host-shape restriction the operator had put in place. This vulnerability is fixed in 0.162.0.
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 | vulnerable |
| Debian | hugo | bookworm | 0.111.3-1 | vulnerable |
| Cpe | hugo | Not reported | Not reported | vulnerable |
| Cpe | hugo | Not reported | 0.162.0 | fixed |
| Go | github.com/gohugoio/hugo | Not reported | 0.162.0 | fixed |
| Cpe | hugo | Not reported | 0.162.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | hugo | source | sid | 0.162.1-1 | not yet assigned | Not reported | Not reported |
| Debian | hugo | source | forky | 0.162.1-1 | not yet assigned | Not reported | Not reported |
| Debian | hugo | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | hugo | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | hugo | cpe | Not reported | 0.162.0 | Not reported | Not reported | Not reported |
| Go | github.com/gohugoio/hugo | Go | Not reported | 0.162.0 | Not reported | Not reported | Not reported |
| Cpe | hugo | cpe | Not reported | 0.162.0 | Not reported | NVD-CVE-2026-50134 | Not reported |
Notes
[trixie] hugo: Minor issue [bookworm] hugo: Minor issue; redirect targets not re-validated against security.http.urls; mirrors trixie
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [hugo]Affected
Details (2)
0.111.3-1· amd64 · bookwormAffected
nvd · hugo · debian · bookworm; nvd · hugo · debian · 12
0.111.3-1· arm64 · bookwormAffected
nvd · hugo · debian · bookworm; nvd · hugo · debian · 12
[Debian 13 (Trixie)]
- [hugo]Affected
Details (2)
0.131.0-1· amd64 · trixieAffected
nvd · hugo · debian · 13
0.131.0-1· arm64 · trixieAffected
nvd · hugo · debian · 13
Observed:
References
- [https://github.com/gohugoio/hugo/commit/86fbb0f7a8bbb93e2e916390de9e5a4f24bf9f50]
- [https://github.com/gohugoio/hugo/releases/tag/v0.162.0]
- [https://github.com/gohugoio/hugo/security/advisories/GHSA-vxgm-5rmg-5w8g]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-50134]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-50134]
- [https://pkg.go.dev/vuln/GO-2026-5681]
- [https://security-tracker.debian.org/tracker/CVE-2026-50134]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50134.json]
[Debian Security Tracker] · [FIRST EPSS] · [Go Vulnerability Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]