๐Ÿ” CVE Alert

CVE-2026-10582

HIGH 7.4

Hugo 0.91.0 through 0.165.0 Server-Side Request Forgery via security.http.urls Lacking Destination Address Validation

CVSS Score
7.4
EPSS Score
0.0%
EPSS Percentile
0th

Hugo's security.http.urls allowlist is the only control on outbound fetches made by resources.GetRemote, and it inspects the URL text alone. CheckAllowedHTTPURL in config/security/securityConfig.go applies the configured pattern list and then re-checks a canonicalised form of an integer, hex or octal IPv4 host, but it never resolves the hostname and never inspects the address the HTTP client actually connects to. The client constructed in resources/resource_factories/create/create.go installs no dial-time hook, so no check occurs at connection time either. A hostname that resolves to a loopback, private or cloud-metadata address therefore satisfies the policy, and the response body is embedded in the generated site. An attacker who can supply a URL through content, for example a front-matter field or a CMS field, can make the build fetch an internal endpoint and publish the response in the static output, so the build artifact itself carries the data out.

CWE CWE-918
Vendor gohugoio
Product hugo
Published Aug 24, 2026
Last Updated Aug 24, 2026
Stay Ahead of the Next One

Get instant alerts for gohugoio hugo

Be the first to know when new high vulnerabilities affecting gohugoio hugo are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

gohugoio / hugo
0.91.0 โ‰ค 0.165.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gohugoio/hugo github.com: https://github.com/gohugoio/hugo/blob/v0.165.0/config/security/securityConfig.go github.com: https://github.com/gohugoio/hugo/blob/v0.165.0/resources/resource_factories/create/create.go vulncheck.com: https://www.vulncheck.com/advisories/hugo-through-server-side-request-forgery-via-security-http-urls-lacking-destination-address-validation

Credits

Michael Holmquist