Description
Hugo versions from v0.162.0 before v0.166.0 contain a case-sensitive validation flaw in the security.http.urls IP-literal deny rule that allows attackers to bypass restrictions. Attackers can use mixed-case URL schemes in resources.GetRemote calls to fetch from restricted IP addresses like localhost.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gohugoio | hugo | 0.162.0 – < 0.166.0 | 0.166.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | hugo | 0.166.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | hugo | No fix yet | — |
| Ubuntu 26.04 LTS | hugo | No fix yet | — |
| Ubuntu 22.04 LTS | hugo | No fix yet | — |
| Ubuntu 20.04 LTS | hugo | No fix yet | — |
| Ubuntu 18.04 LTS | hugo | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | hugo | No fix yet | — |
| Ubuntu Pro 24.04 LTS | hugo | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | hugo | 0.166.0-0.1.hum1 | RHSA-2026:66266 |
Advisories 1
- RHSA-2026:66266 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
References
- GitHub Security Advisory (GHSA-pmrv-x7gp-2rjw) vendor-advisory
- VulnCheck Advisory: Hugo v0.162.0 before v0.166.0 IP-literal Deny Rule Bypass third-party-advisory