Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
gohugoio hugo
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Hugo 的 允许列表是控制由 发起的出站请求的唯一机制,且仅检查 URL 文本本身。 中的 函数会应用配置的模式列表,随后重新检查规范化后的整数、十六进制或八进制 IPv4 主机地址,但该函数从不解析主机名,也从不检查 HTTP 客户端实际连接的目标地址。在 中构建的客户端未安装拨号(dial-time)钩子,因此连接时也不会进行任何检查。因此,若某个主机名解析为回环地址、私有地址或云元数据地址,则该主机名将符合安全策略,响应内容将被嵌入生成的站点中。如果攻击者能够通过内容(例如 Front Matter 字段或

CVSS 7.4 · High EPSS 0.32% · P24

Affected Version Matrix 1

VendorProduct Version RangeStatus
gohugoio hugo 0.91.0≤ 0.165.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-10582

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Hugo 0.91.0 through 0.165.0 Server-Side Request Forgery via security.http.urls Lacking Destination Address Validation
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
服务端请求伪造(SSRF)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
gohugoio hugo 0.91.0 ~ 0.165.0 -

II. Public POCs for CVE-2026-10582

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 9089 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-10582

登录查看更多情报信息。

Vendor Advisories for CVE-2026-10582 (1)

Vendor Pages for CVE-2026-10582 (1)

Other References for CVE-2026-10582 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-10582

No comments yet


Leave a comment