CVE-2026-10582
CVE-2026-10582 · Hugo 0.91.0 through 0.165.0 Server-Side Request Forgery via security.http.urls Lacking Destination Address Validation
CVSS 8.3 · High · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- hugoNo fix published
- hugo Debian 12No fix published
- hugo Debian 13No fix published
- hugo Debian 14Update to 0.166.0-1
- and 7 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="hugo"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2026:66266 · Red Hat hummingbird 1 ·
Stack: system
Affected products and versions
hugo
- Versions
- ≥ 0.91.0, ≤ 0.165.0: Affected (semver)
No fix published
hugo Debian 12
- Versions
- 0.111.3-1
- 0.112.7-1
- 0.113.0-1
- 0.113.0-2
- 0.113.0-3
- 0.114.1-1
All versions (99)
- 0.114.1-2
- 0.115.4-1
- 0.116.1-1
- 0.117.0-1
- 0.118.2-1
- 0.119.0-1
- 0.119.0-2
- 0.120.3-1
- 0.120.4-1
- 0.121.1-1
- 0.121.2-1
- 0.122.0-1
- 0.123.3-1
- 0.123.7-1
- 0.123.8-1
- 0.123.8-2
- 0.124.1-1
- 0.125.4-1
- 0.125.5-1
- 0.125.6-1
- 0.125.7-1
- 0.126.1-1
- 0.126.2-1
- 0.126.3-1
- 0.127.0-1
- 0.128.2-1
- 0.128.2-2
- 0.129.0-1
- 0.129.0-2
- 0.130.0-1
- 0.130.0-2
- 0.131.0-1
- 0.131.0-2
- 0.150.0-1
- 0.150.1-1
- 0.151.0-1
- 0.151.1-1
- 0.151.2-1
- 0.152.1-1
- 0.152.2-1
- 0.153.0-1
- 0.153.1-1
- 0.153.1-2
- 0.153.1-3
- 0.153.2-1
- 0.154.1-1
- 0.154.2-1
- 0.154.2-2
- 0.154.3-1
- 0.154.5-1
- 0.155.1-1
- 0.155.2-1
- 0.155.3-1
- 0.157.0-1
- 0.157.0-2
- 0.157.0-3
- 0.158.0-1
- 0.158.0-2
- 0.158.0-3
- 0.159.0-1
- 0.159.1-1
- 0.159.2-1
- 0.160.0-1
- 0.160.0-2
- 0.160.1-1
- 0.161.0-1
- 0.161.1-1
- 0.162.1-1
- 0.162.1-2
- 0.162.1-3
- 0.162.1-4
- 0.162.1-5
- 0.162.1-6
- 0.162.1-7
- 0.165.0-1
- 0.165.0-2
- 0.165.0-3
- 0.166.0-1
- 0.166.0-2
- 0.167.0-1
- 0.167.0-2
- 0.167.0-3
- 0.167.0-4
- 0.167.0-5
- 0.167.0-6
- 0.167.0-7
- 0.168.0-1
- 0.168.0-2
- 0.168.0-3
- 0.169.0-1
- 0.169.0-2
- 0.170.1-1
- 0.170.1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hugo Debian 13
- Versions
- 0.131.0-1
- 0.131.0-2
- 0.150.0-1
- 0.150.1-1
- 0.151.0-1
- 0.151.1-1
All versions (62)
- 0.151.2-1
- 0.152.1-1
- 0.152.2-1
- 0.153.0-1
- 0.153.1-1
- 0.153.1-2
- 0.153.1-3
- 0.153.2-1
- 0.154.1-1
- 0.154.2-1
- 0.154.2-2
- 0.154.3-1
- 0.154.5-1
- 0.155.1-1
- 0.155.2-1
- 0.155.3-1
- 0.157.0-1
- 0.157.0-2
- 0.157.0-3
- 0.158.0-1
- 0.158.0-2
- 0.158.0-3
- 0.159.0-1
- 0.159.1-1
- 0.159.2-1
- 0.160.0-1
- 0.160.0-2
- 0.160.1-1
- 0.161.0-1
- 0.161.1-1
- 0.162.1-1
- 0.162.1-2
- 0.162.1-3
- 0.162.1-4
- 0.162.1-5
- 0.162.1-6
- 0.162.1-7
- 0.165.0-1
- 0.165.0-2
- 0.165.0-3
- 0.166.0-1
- 0.166.0-2
- 0.167.0-1
- 0.167.0-2
- 0.167.0-3
- 0.167.0-4
- 0.167.0-5
- 0.167.0-6
- 0.167.0-7
- 0.168.0-1
- 0.168.0-2
- 0.168.0-3
- 0.169.0-1
- 0.169.0-2
- 0.170.1-1
- 0.170.1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hugo Debian 14
- Versions
- 0.131.0-1
- 0.131.0-2
- 0.150.0-1
- 0.150.1-1
- 0.151.0-1
- 0.151.1-1
All versions (46)
- 0.151.2-1
- 0.152.1-1
- 0.152.2-1
- 0.153.0-1
- 0.153.1-1
- 0.153.1-2
- 0.153.1-3
- 0.153.2-1
- 0.154.1-1
- 0.154.2-1
- 0.154.2-2
- 0.154.3-1
- 0.154.5-1
- 0.155.1-1
- 0.155.2-1
- 0.155.3-1
- 0.157.0-1
- 0.157.0-2
- 0.157.0-3
- 0.158.0-1
- 0.158.0-2
- 0.158.0-3
- 0.159.0-1
- 0.159.1-1
- 0.159.2-1
- 0.160.0-1
- 0.160.0-2
- 0.160.1-1
- 0.161.0-1
- 0.161.1-1
- 0.162.1-1
- 0.162.1-2
- 0.162.1-3
- 0.162.1-4
- 0.162.1-5
- 0.162.1-6
- 0.162.1-7
- 0.165.0-1
- 0.165.0-2
- 0.165.0-3
- Affected ranges
- ECOSYSTEM: < 0.166.0-1
Update to 0.166.0-1
hugo Ubuntu 16.04 LTS
- Versions
- 0.15+git20160109.147.dd1d655-1
- 0.15+git20160109.147.dd1d655-2
- 0.15+git20160128.179.5def6d9-1
- 0.15+git20160206.203.ed23711-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hugo Ubuntu 18.04 LTS
- Versions
- 0.25.1-2
- 0.26-1
- 0.35-1
- 0.37.1-1
- 0.38-1
- 0.39-1
All versions (8)
- 0.40-1
- 0.40.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hugo Ubuntu 20.04 LTS
- Versions
- 0.57.2-1
- 0.58.3-1
- 0.59.1-1.1
- 0.68.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hugo Ubuntu 22.04 LTS
- Versions
- 0.80.0-6
- 0.89.4-2
- 0.90.0-1
- 0.90.1-1
- 0.91.0-1
- 0.91.2-1
All versions (10)
- 0.92.0-1
- 0.92.1-1build1
- 0.92.2-1
- 0.92.2-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hugo Ubuntu Pro 24.04 LTS
- Versions
- 0.113.0-3
- 0.119.0-2
- 0.120.3-1
- 0.120.4-1
- 0.121.2-1
- 0.122.0-1
All versions (13)
- 0.123.7-1build1
- 0.123.7-1ubuntu0.1
- 0.123.7-1ubuntu0.2
- 0.123.7-1ubuntu0.2+esm1
- 0.123.7-1ubuntu0.3
- 0.123.7-1ubuntu0.3+esm1
- 0.123.7-1ubuntu0.3+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hugo Ubuntu 26.10
- Versions
- 0.154.5-1
- 0.162.1-5
- 0.162.1-7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
hugo Ubuntu 26.04 LTS
- Versions
- 0.131.0-1
- 0.152.2-1
- 0.153.1-3
- 0.153.2-1
- 0.154.2-2
- 0.154.3-1
All versions (7)
- 0.154.5-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/gohugoio/hugo
- https://github.com/gohugoio/hugo/blob/v0.165.0/config/security/securityConfig.go
- https://github.com/gohugoio/hugo/blob/v0.165.0/resources/resource_factories/create/create.go
- https://www.vulncheck.com/advisories/hugo-through-server-side-request-forgery-via-security-http-urls-lacking-destination-address-validation
- https://nvd.nist.gov/vuln/detail/CVE-2026-10582