---
id: CVE-2026-100693
title: >-
  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
summary: >-
  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.GetRe…
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-178
  - CWE-918
vendor: gohugo
product: hugo
affected:
  - 'hugo >= 0.162.0, < 0.166.0'
patched:
  - hugo 0.166.0
published: '2026-09-26'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T18:18:01.750'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100693'
references:
  - url: 'https://github.com/gohugoio/hugo/security/advisories/GHSA-pmrv-x7gp-2rjw'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/hugo-0.162.0-before-0.166.0-ip-literal-deny-rule-bypass
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-100693.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-100693'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2541830'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-100693'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100693'
  - url: 'https://access.redhat.com/errata/RHSA-2026:66266'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00139
epssPercentile: 0.03234
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-30T17:05:19.378001Z'
scores:
  nvd: 8.4
  vendor: 4
  cna: 8.4
ingestedAt: '2026-09-26T13:33:20.904Z'
---

## Overview

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

- `hugo >= 0.162.0, < 0.166.0`

## Remediation

Upgrade past the affected range:

- `hugo 0.166.0`

## Vendor advisories

- **RHSA-2026:66266** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-09 · [advisory](https://access.redhat.com/errata/RHSA-2026:66266)
