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-105812Improper control of code generation in the agent import func…9
- CVE-2026-105813Cleartext storage of sensitive information in Ivanti UWM bef…6.3
- CVE-2026-105814TP-Link Tapo C210 V3.60 contains an authentication bypass vu…5.3
- CVE-2026-105815TP-Link Tapo C210 V3.60 may expose shared credential materia…7.1
- CVE-2026-105816Vault and Vault Enterprise did not consistently verify that …8
- CVE-2026-105818Vault's PKI secrets engine ACME server did not restrict cert…5.9
- CVE-2026-105820Vault's ACL policy cache allowed namespace traversal when po…5.4
- CVE-2026-105821The Tapo Cloud MQTT broker contains a broken access control …8.3
- CVE-2026-105822The Tapo Cloud MQTT proxy contains a server-side request for…8.3
- CVE-2026-105823Rejected reason: This CVE ID has been rejected as a duplicat…
- CVE-2026-105824Rejected reason: This CVE ID has been rejected as a duplicat…
- CVE-2026-105825Rejected reason: This CVE ID has been rejected as a duplicat…
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
