PT-2026-55981 · Hugo · Hugo
CVSS v4.0
7.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Hugo versions 0.162.0 through 0.163.0
Description
The default
security.http.urls policy fails to properly block requests to loopback, internal, and cloud-metadata IPv4 literals because the deny rule only matches dotted-decimal notation. Consequently, alternate IPv4 encodings such as integer, hex, or octal bypass the policy. When a template provides an untrusted or data-derived URL to the resources.GetRemote() function and the host platform utilizes the cgo system resolver, these encodings resolve to blocked addresses. This allows unauthorized build-time server-side requests to loopback and internal services, including cloud-metadata endpoints in hosted or CI builds. This bypass also applies to each redirect hop as the same check is reused.Recommendations
Update to version 0.163.1.
Exploit
Fix
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Hugo