CVE-2026-10582: Server-Side Request Forgery (SSRF) in gohugoio hugo
Description
CVE-2026-10582 is a Server-Side Request Forgery (SSRF) vulnerability in the Hugo static site generator. The security.http.urls allowlist only inspects URL text and does not resolve hostnames or verify the actual IP address connected to, allowing bypass via hostnames resolving to internal or cloud metadata addresses. An attacker able to supply a URL through content fields can cause the build process to fetch internal endpoints and embed the response in the generated site output.
CVSS v4.0
Score 8.3high
Affected software
gohugoio
hugo
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Hugo's security.http.urls allowlist mechanism inspects only the URL text and a canonicalized form of the host but does not resolve hostnames or verify the IP address at connection time. The HTTP client used does not perform dial-time checks. This allows an attacker who can supply URLs in content (e.g., front-matter or CMS fields) to cause the build process to fetch internal or cloud metadata endpoints. The fetched response is embedded in the static site output, effectively exfiltrating internal data via the build artifact. This is a server-side request forgery vulnerability affecting Hugo versions 0.91.0 through 0.165.0.
Potential Impact
An unauthenticated attacker who can supply URLs in content fields can cause the Hugo build process to make HTTP requests to internal or cloud metadata services that are normally inaccessible externally. The responses from these internal endpoints are embedded in the generated static site, potentially exposing sensitive internal information publicly. This can lead to information disclosure without requiring authentication or user interaction beyond supplying content with malicious URLs.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid building sites with untrusted content that can supply URLs to the resources.GetRemote function or disable the use of external HTTP fetches in the build process if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-01T18:07:48.223Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a8c261eacd9273b496b635b
Added to database: 08/24/2026, 11:08:14 UTC
Last enriched: 09/10/2026, 12:07:59 UTC
Last updated: 10/07/2026, 18:48:17 UTC
Views: 71
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.