Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-10582: Server-Side Request Forgery (SSRF) in gohugoio hugo

0
High
Published: 08/24/2026 (08/24/2026, 12:31:38 UTC)
Source: CVE Database V5
Vendor/Project: gohugoio
Product: hugo

Description

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.

CVSS v4.0

Score 8.3high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Affected software

GitHub Actionsmore threats →cve
hugo
pkg:github/hugo
Affected versions
>=0.91.0 <=0.165.0

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

AILast updated: 08/24/2026, 11:09:28 UTC

Technical Analysis

Hugo's security.http.urls allowlist mechanism only checks URL patterns textually and canonicalizes certain IP formats but does not resolve hostnames or verify the actual IP address at connection time. The HTTP client used does not perform dial-time checks, so URLs resolving to loopback, private, or cloud metadata IPs bypass the allowlist. An attacker controlling URL input (e.g., via front-matter or CMS fields) can cause the build process to fetch internal network resources and embed their responses into the static site output, effectively exfiltrating internal data.

Potential Impact

An unauthenticated attacker able to supply URLs to the Hugo build process can cause it to make HTTP requests to internal or sensitive network endpoints. The responses from these internal endpoints are embedded in the generated static site, potentially exposing sensitive internal data publicly. This can lead to information disclosure of internal services or metadata that should not be accessible externally.

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 outbound fetches in the build process. Monitor vendor communications for official fixes or temporary mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-01T18:07:48.223Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a8c261eacd9273b496b635b

Added to database: 08/24/2026, 11:08:14 UTC

Last enriched: 08/24/2026, 11:09:28 UTC

Last updated: 08/24/2026, 13:51:56 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses