CVE-2026-10582 json
Hugo 0.91.0 through 0.165.0 Server-Side Request Forgery via security.http.urls Lacking Destination Address Validation
published 2026-08-24 2 mo ago modified 2026-10-12 28 d ago also EUVD-2026-64775
- cvss
- 7.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- hugo Debian 14 0.166.0-1
debian advisories DEBIAN-CVE-2026-10582
- hugo hummingbird 1 0.166.0-0.1.hum1
red hat advisories RHSA-2026:66266
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-10582 updated cvss 7.4
hugo: github.com/gohugoio/hugo: Hugo: Server-Side Request Forgery (SSRF) leading to information disclosure.
-
Red Hat Hardened Images hugo 0.166.0-0.1.hum1fixed: vendor fix RHSA-2026:66266
-
Red Hat Hardened Images grafana12.4 12.4.9-0.2.hum1, grafana13.1 13.1.3-0.2.hum1, grafana13.2 13.2.0-0.1.1.hum1not affected: component not present
-
Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9not affected: vulnerable code not in execute path
-
Red Hat OpenStack Platform 18.0 rhoso-operators/openstack-operator-bundlenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N |
| CNA | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
| CNA | 4.0 | 8.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- gohugoio hugo
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/gohugoio/hugo
product
-
github.com
/gohugoio/hugo/blob/v0.165.0/config/security/securityConfig.go
technical-description
-
github.com
/gohugoio/hugo/blob/v0.165.0/resources/resource_factories/create/create.go
technical-description
-
vulncheck.com
/advisories/hugo-through-server-side-request-forgery-via-security-http-urls-lacking-destination-address-valida
third-party-advisory
Sources
- CVE List CVE-2026-10582
- NVD CVE-2026-10582
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.