CVE-2026-10582
Last modified
CVE-2026-10582 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. 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. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| gohugoio | hugo | >= 0.91.0, <= 0.165.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-10582?
How severe is CVE-2026-10582?
How do I fix CVE-2026-10582?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-10575IBM MQ could allow an authenticated attacker to cause a deni…8.8
- CVE-2026-10577A security issue exists within the 1715-AENTR EtherNet/IP Ad…10
- CVE-2026-10579A flaw was found in Picketlink Federation SAML; the unsolcit…9.8
- CVE-2026-1058The Form Maker plugin for WordPress is vulnerable to Stored …7.1
- CVE-2026-10580The Hippoo Mobile App for WooCommerce plugin for WordPress i…9.8
- CVE-2026-10581A flaw has been found in DedeCMS 5.7.88. Affected by this vu…6.3
- CVE-2026-10583A security vulnerability has been detected in nextlevelbuild…4.7
- CVE-2026-10584Proxy server in Graph Explorer before 3.0.1 falls back to HT…8.2
- CVE-2026-10585A stored cross-site scripting vulnerability was identified i…5.4
- CVE-2026-10586The Gutenberg Essential Blocks – Page Builder for Gutenberg …7.2
- CVE-2026-10587A potential out-of-bounds write vulnerability could allow a …6.8
- CVE-2026-10588A potential vulnerability could allow a local privileged att…6.7
Are you affected by CVE-2026-10582?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
