CVE Explorer
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 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 vuln
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"hugo","vendor":"gohugoio","versions":[{"status":"affected","version":">= 0.91.0, < 0.162.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f6d3b83ed948ba13e0cdb6e261a4fe63fd0035cb24c016d0129ea561fbe6d878 · sha256:f94df0004fd167ab… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f6d3b83ed948ba13e0cdb6e261a4fe63fd0035cb24c016d0129ea561fbe6d878 · sha256:f94df0004fd167ab… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-918","description":"CWE-918: Server-Side Request Forgery (SSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f6d3b83ed948ba13e0cdb6e261a4fe63fd0035cb24c016d0129ea561fbe6d878 · sha256:f94df0004fd167ab… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/gohugoio/hugo/commit/86fbb0f7a8bbb93e2e916390de9e5a4f24bf9f50","tags":["x_refsource_MISC"],"url":"https://github.com/gohugoio/hugo/commit/86fbb0f7a8bbb93e2e916390de9e5a4f24bf9f50"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f6d3b83ed948ba13e0cdb6e261a4fe63fd0035cb24c016d0129ea561fbe6d878 · sha256:f94df0004fd167ab… · /containers/cna/references/1
{"name":"https://github.com/gohugoio/hugo/releases/tag/v0.162.0","tags":["x_refsource_MISC"],"url":"https://github.com/gohugoio/hugo/releases/tag/v0.162.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f6d3b83ed948ba13e0cdb6e261a4fe63fd0035cb24c016d0129ea561fbe6d878 · sha256:f94df0004fd167ab… · /containers/cna/references/2
{"name":"https://github.com/gohugoio/hugo/security/advisories/GHSA-vxgm-5rmg-5w8g","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gohugoio/hugo/security/advisories/GHSA-vxgm-5rmg-5w8g"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f6d3b83ed948ba13e0cdb6e261a4fe63fd0035cb24c016d0129ea561fbe6d878 · sha256:f94df0004fd167ab… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.