CVE-2026-50134
Beschrijving NL
Hugo is een statische sitegenerator. Van 0.91.0 tot 0.162.0 dwingt resources.GetRemote beveiliging af.http.urls op de URL waarmee het wordt aangeroepen, maar het heeft tussentijdse URL's op HTTP 3xx-omleidingen niet opnieuw gevalideerd. Een toegestane server (of een aanvaller die zijn DNS of reactie beheert) kan daarom het verzoek omleiden naar een host die het beleid moest verbieden en Hugo zou ophalen van het omgeleide doelwit. Met dezelfde bypass werd ook elke host-vormbeperking opgeheven die de operator had ingesteld. Deze kwetsbaarheid is opgelost in 0.162.0.
Origineel (Engels) tonen
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.