CVEfocus › CVE database › CVE-2026-10582

CVE-2026-10582Hugo 0.91.0 through 0.165.0 Server-Side Request Forgery via security.http.urls Lacking…

CVSS 7.4 HighEPSS 0.4% (higher than 30% of CVEs)Published 2026-08-24Updated 2026-08-24Assigner: VulnCheck

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.

CWE-918

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
7Fix pending
2Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10hugoFix pendingUBUNTU-CVE-2026-10582
Ubuntu 26.04hugoUnder investigationUBUNTU-CVE-2026-10582
Ubuntu 24.04hugoFix pendingUBUNTU-CVE-2026-10582
Ubuntu 22.04hugoUnder investigationUBUNTU-CVE-2026-10582
Ubuntu 20.04hugoFix pendingUBUNTU-CVE-2026-10582
Ubuntu 18.04hugoFix pendingUBUNTU-CVE-2026-10582
Ubuntu 16.04hugoFix pendingUBUNTU-CVE-2026-10582
Debian 14hugoFixed0.166.0-1DEBIAN-CVE-2026-10582
Debian 13hugoFix pendingDEBIAN-CVE-2026-10582
Debian 12hugoFix pendingDEBIAN-CVE-2026-10582

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.