Skip to main content
EPSS 0.3%top 78%

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

0
High
Published: 08/24/2026 (08/24/2026, 10:29:09 UTC)
Source: CVE Database V5
Vendor/Project: gohugoio
Product: 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

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

gohugoio

hugo

Affected versions
>=0.91.0 <=0.165.0
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: 09/10/2026, 12:07:59 UTC

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.

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

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 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