2026-09-26 13:23CVE-2026-100693VulnCheck
PUBLISHED5.2CWE-178

Hugo v0.162.0 before v0.166.0 IP-literal Deny Rule Bypass

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.

Problem type

Affected products

gohugoio

hugo

< 0.166.0 - AFFECTED

0.166.0 - UNAFFECTED

References

GitHub Security Advisories

GHSA-xpjr-56xg-vx6v

Hugo versions from v0.162.0 before v0.166.0 contain a case-sensitive validation flaw in the...

https://github.com/advisories/GHSA-xpjr-56xg-vx6v

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.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-100693
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-100693",
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "dateUpdated": "2026-09-26T13:23:51.556Z",
    "dateReserved": "2026-09-26T02:37:41.037Z",
    "datePublished": "2026-09-26T13:23:51.556Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck",
        "dateUpdated": "2026-09-26T13:23:51.556Z"
      },
      "datePublic": "2026-09-09T00:00:00.000Z",
      "title": "Hugo v0.162.0 before v0.166.0 IP-literal Deny Rule Bypass",
      "descriptions": [
        {
          "lang": "en",
          "value": "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": [
        {
          "vendor": "gohugoio",
          "product": "hugo",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0.162.0",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "0.166.0"
            },
            {
              "version": "0.166.0",
              "status": "unaffected",
              "versionType": "semver"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "Improper Handling of Case Sensitivity",
              "cweId": "CWE-178",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/gohugoio/hugo/security/advisories/GHSA-pmrv-x7gp-2rjw",
          "name": "GitHub Security Advisory (GHSA-pmrv-x7gp-2rjw)",
          "tags": [
            "vendor-advisory"
          ]
        },
        {
          "url": "https://www.vulncheck.com/advisories/hugo-0.162.0-before-0.166.0-ip-literal-deny-rule-bypass",
          "name": "VulnCheck Advisory: Hugo v0.162.0 before v0.166.0 IP-literal Deny Rule Bypass",
          "tags": [
            "third-party-advisory"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS"
        },
        {
          "format": "CVSS",
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "attackVector": "LOCAL",
            "attackComplexity": "LOW",
            "privilegesRequired": "NONE",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "availabilityImpact": "HIGH",
            "baseScore": 8.4,
            "baseSeverity": "HIGH"
          }
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Reload3d",
          "type": "finder"
        }
      ]
    }
  }
}