Advisory record · GHSA-vxgm-5rmg-5w8g

Hugo: security.http.urls allow-list bypass via HTTP redirects

CVSS 6.3 MediumEPSS 0.0040 · 34th percentile

Published by the GitHub Advisory Database at 16 Jun 2026, 19:22 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/gohugoio/hugoGo>=0.91.0, <0.162.00.162.0
Identifiers
GHSA-vxgm-5rmg-5w8g · CVE-2026-50134 · GO-2026-5681
Weakness (CWE)
CWE-918
Published
16 Jun 2026
Updated
7 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Hugo versions from 0.91.0 through 0.161.1 are affected. In these versions, the security.http.urls allow-list is not rechecked when resources.GetRemote follows HTTP redirects, so a request to an allowed server can be redirected to a forbidden host such as localhost or an internal IP address. This matters mainly for sites that rely on that setting as a trust boundary. Upgrade to Hugo 0.162.0, which re-validates redirect targets; no configuration change is needed.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.3 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0040, the 34th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:05 UTC First seen by agentprime
  2. 31 Oct 2026, 15:05 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.