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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-50134— Hugo: security.http.urls allow-list bypass via HTTP redirects

Quick assessment

Affected
gohugoio hugo
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

gohugo hugo是gohugo团队开源的一个生成静态网站的框架。 GoHugo Hugo 0.91.0版本至0.162.0之前版本存在服务端请求伪造漏洞,该漏洞源于resources.GetRemote对HTTP 3xx重定向的中间URL未重新验证,可能导致允许的服务器或攻击者将请求重定向至策略禁止的主机,从而绕过安全限制。

AI Predicted 6.5 Difficulty: Moderate EPSS 0.40% · P34

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
gohugoio hugo >= 0.91.0, < 0.162.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-50134

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: security.http.urls allow-list bypass via HTTP redirects
Source: CVE Program / CVE List V5
Vulnerability Description
Hugo is a static site generator. From 0.91.0 until 0.162.0, resources.GetRemote enforces security.http.urls on the URL it is called with, but it did not re-validate intermediate URLs on HTTP 3xx redirects. An allowed server (or an attacker controlling its DNS or response) could therefore redirect the request to a host that the policy was meant to forbid and Hugo would fetch from the redirected target. The same bypass also lifted any host-shape restriction the operator had put in place. This vulnerability is fixed in 0.162.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
服务端请求伪造(SSRF)
Source: CVE Program / CVE List V5
Vulnerability Title
GoHugo Hugo 服务端请求伪造漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
gohugo hugo是gohugo团队开源的一个生成静态网站的框架。 GoHugo Hugo 0.91.0版本至0.162.0之前版本存在服务端请求伪造漏洞,该漏洞源于resources.GetRemote对HTTP 3xx重定向的中间URL未重新验证,可能导致允许的服务器或攻击者将请求重定向至策略禁止的主机,从而绕过安全限制。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gohugoio hugo >= 0.91.0, < 0.162.0 -

II. Public POCs for CVE-2026-50134

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-50134

登录查看更多情报信息。

Patches & Fixes for CVE-2026-50134 (1)

Vendor Advisories for CVE-2026-50134 (1)

Vendor Pages for CVE-2026-50134 (1)

Same Patch Batch · gohugoio · 2026-07-06 · 6 CVEs total

CVE-2026-58404 Hugo security.http.urls deny rules bypassed by alternate IPv4 encodings
CVE-2026-58402 Hugo default code block renderer XSS via unescaped code-fence language
CVE-2026-58403 Hugo symlink confinement bypass in os.ReadFile
CVE-2026-50133 Hugo: XSS via text/html content files
CVE-2026-50135 Hugo: Symlink confinement bypass in resources.Get

IV. Related Vulnerabilities

V. Comments for CVE-2026-50134

No comments yet


Leave a comment