GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

RHSA-2026:66266

Vulnerability from csaf_redhat - Published: 2026-09-09 23:14 - Updated: 2026-09-09 23:48
Summary
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Severity
Important
Notes
Topic: An update for Red Hat Hardened Images RPMs is now available.
Details: This update includes the following RPMs: hugo: * hugo-0.166.0-0.1.hum1 (aarch64, x86_64) * hugo-0.166.0-0.1.hum1.src (src)
Terms of Use: This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.

A flaw was found in Hugo. The `security.http.urls` allowlist, which controls outbound fetches, does not adequately validate the destination address of URLs. This vulnerability allows a remote attacker to supply a specially crafted URL that resolves to internal network resources. As a result, the Hugo build process can fetch internal endpoints, and the sensitive response data may be embedded and published within the generated static site, leading to information disclosure.

CWE-918 - Server-Side Request Forgery (SSRF)
Affected products
Product Identifier Version Remediation
Unresolved product id: Red Hat Hardened Images:hugo-main@aarch64
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:hugo-main@src
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:hugo-main@x86_64
Vendor Fix fix
Workaround
Threats
Impact Important

A flaw was found in Hugo's default fenced-code-block renderer. This vulnerability allows a remote attacker to inject arbitrary script code into the rendered HTML by providing specially crafted input in the code-fence info string. Due to improper escaping of attribute values, a malicious quote can terminate an attribute and allow the injection of additional attributes, including event handlers. This can lead to client-side arbitrary code execution when a user views the affected page.

CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
Product Identifier Version Remediation
Unresolved product id: Red Hat Hardened Images:hugo-main@aarch64
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:hugo-main@src
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:hugo-main@x86_64
Vendor Fix fix
Workaround
Threats
Impact Moderate

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for Red Hat Hardened Images RPMs is now available.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "This update includes the following RPMs:\n\nhugo:\n  * hugo-0.166.0-0.1.hum1 (aarch64, x86_64)\n  * hugo-0.166.0-0.1.hum1.src (src)",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2026:66266",
        "url": "https://access.redhat.com/errata/RHSA-2026:66266"
      },
      {
        "category": "external",
        "summary": "https://images.redhat.com/",
        "url": "https://images.redhat.com/"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/cve/CVE-2026-10618",
        "url": "https://access.redhat.com/security/cve/CVE-2026-10618"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/",
        "url": "https://access.redhat.com/security/updates/classification/"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/cve/CVE-2026-10582",
        "url": "https://access.redhat.com/security/cve/CVE-2026-10582"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_66266.json"
      }
    ],
    "title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
    "tracking": {
      "current_release_date": "2026-09-09T23:48:22+00:00",
      "generator": {
        "date": "2026-09-09T23:48:22+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.3.18"
        }
      },
      "id": "RHSA-2026:66266",
      "initial_release_date": "2026-09-09T23:14:36+00:00",
      "revision_history": [
        {
          "date": "2026-09-09T23:14:36+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-09-09T23:35:48+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2026-09-09T23:48:22+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Hardened Images",
                "product": {
                  "name": "Red Hat Hardened Images",
                  "product_id": "Red Hat Hardened Images",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:hummingbird:1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Hardened Images"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "hugo-main@aarch64",
                "product": {
                  "name": "hugo-main@aarch64",
                  "product_id": "hugo-main@aarch64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/hugo@0.166.0-0.1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "hugo-main@src",
                "product": {
                  "name": "hugo-main@src",
                  "product_id": "hugo-main@src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/hugo@0.166.0-0.1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "hugo-main@x86_64",
                "product": {
                  "name": "hugo-main@x86_64",
                  "product_id": "hugo-main@x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/hugo@0.166.0-0.1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "hugo-main@aarch64 as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:hugo-main@aarch64"
        },
        "product_reference": "hugo-main@aarch64",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "hugo-main@src as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:hugo-main@src"
        },
        "product_reference": "hugo-main@src",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "hugo-main@x86_64 as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:hugo-main@x86_64"
        },
        "product_reference": "hugo-main@x86_64",
        "relates_to_product_reference": "Red Hat Hardened Images"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-10582",
      "cwe": {
        "id": "CWE-918",
        "name": "Server-Side Request Forgery (SSRF)"
      },
      "discovery_date": "2026-08-24T10:41:27.631892+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2521803"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in Hugo. The `security.http.urls` allowlist, which controls outbound fetches, does not adequately validate the destination address of URLs. This vulnerability allows a remote attacker to supply a specially crafted URL that resolves to internal network resources. As a result, the Hugo build process can fetch internal endpoints, and the sensitive response data may be embedded and published within the generated static site, leading to information disclosure.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "hugo: github.com/gohugoio/hugo: Hugo: Server-Side Request Forgery (SSRF) leading to information disclosure.",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Hardened Images:hugo-main@aarch64",
          "Red Hat Hardened Images:hugo-main@src",
          "Red Hat Hardened Images:hugo-main@x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2026-10582"
        },
        {
          "category": "external",
          "summary": "RHBZ#2521803",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2521803"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-10582",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-10582"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-10582",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-10582"
        },
        {
          "category": "external",
          "summary": "https://github.com/gohugoio/hugo",
          "url": "https://github.com/gohugoio/hugo"
        },
        {
          "category": "external",
          "summary": "https://github.com/gohugoio/hugo/blob/v0.165.0/config/security/securityConfig.go",
          "url": "https://github.com/gohugoio/hugo/blob/v0.165.0/config/security/securityConfig.go"
        },
        {
          "category": "external",
          "summary": "https://github.com/gohugoio/hugo/blob/v0.165.0/resources/resource_factories/create/create.go",
          "url": "https://github.com/gohugoio/hugo/blob/v0.165.0/resources/resource_factories/create/create.go"
        },
        {
          "category": "external",
          "summary": "https://www.vulncheck.com/advisories/hugo-through-server-side-request-forgery-via-security-http-urls-lacking-destination-address-validation",
          "url": "https://www.vulncheck.com/advisories/hugo-through-server-side-request-forgery-via-security-http-urls-lacking-destination-address-validation"
        }
      ],
      "release_date": "2026-08-24T10:29:09.560000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-09-09T23:14:36+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
          "product_ids": [
            "Red Hat Hardened Images:hugo-main@aarch64",
            "Red Hat Hardened Images:hugo-main@src",
            "Red Hat Hardened Images:hugo-main@x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2026:66266"
        },
        {
          "category": "workaround",
          "details": "To mitigate this vulnerability, ensure that the Hugo `security.http.urls` allowlist is strictly configured to permit outbound requests only to explicitly trusted external domains. Implement network egress filtering to prevent Hugo from initiating connections to internal, loopback, or private IP address ranges. This can be achieved by configuring firewall rules or network policies to block outbound traffic from the Hugo environment to RFC1918 addresses and other internal network segments.",
          "product_ids": [
            "Red Hat Hardened Images:hugo-main@aarch64",
            "Red Hat Hardened Images:hugo-main@src",
            "Red Hat Hardened Images:hugo-main@x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.4,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N",
            "version": "3.1"
          },
          "products": [
            "Red Hat Hardened Images:hugo-main@aarch64",
            "Red Hat Hardened Images:hugo-main@src",
            "Red Hat Hardened Images:hugo-main@x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "hugo: github.com/gohugoio/hugo: Hugo: Server-Side Request Forgery (SSRF) leading to information disclosure."
    },
    {
      "cve": "CVE-2026-10618",
      "cwe": {
        "id": "CWE-79",
        "name": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"
      },
      "discovery_date": "2026-08-24T10:41:11.282635+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2521802"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in Hugo\u0027s default fenced-code-block renderer. This vulnerability allows a remote attacker to inject arbitrary script code into the rendered HTML by providing specially crafted input in the code-fence info string. Due to improper escaping of attribute values, a malicious quote can terminate an attribute and allow the injection of additional attributes, including event handlers. This can lead to client-side arbitrary code execution when a user views the affected page.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "github.com/gohugoio/hugo: Hugo: Stored Cross-Site Scripting via unescaped code-fence attribute values",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "A flaw was found in Hugo. The default fenced-code-block renderer writes attribute values from the code-fence info string into HTML without escaping them. A crafted quote character inside an attribute value terminates the attribute in the rendered HTML, allowing injection of additional attributes including event handlers. The injected script executes for every visitor who loads the page. This is exploitable under the default Hugo configuration with code fences enabled, without requiring the goldmark unsafe setting or any custom render hook. Note that attribute names beginning with \u0027on\u0027 are filtered during parsing, but injection is achieved through the attribute value rather than the name.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Hardened Images:hugo-main@aarch64",
          "Red Hat Hardened Images:hugo-main@src",
          "Red Hat Hardened Images:hugo-main@x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2026-10618"
        },
        {
          "category": "external",
          "summary": "RHBZ#2521802",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2521802"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-10618",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-10618"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-10618",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-10618"
        },
        {
          "category": "external",
          "summary": "https://github.com/gohugoio/hugo",
          "url": "https://github.com/gohugoio/hugo"
        },
        {
          "category": "external",
          "summary": "https://github.com/gohugoio/hugo/blob/v0.165.0/markup/goldmark/codeblocks/render.go",
          "url": "https://github.com/gohugoio/hugo/blob/v0.165.0/markup/goldmark/codeblocks/render.go"
        },
        {
          "category": "external",
          "summary": "https://github.com/gohugoio/hugo/blob/v0.165.0/markup/highlight/highlight.go",
          "url": "https://github.com/gohugoio/hugo/blob/v0.165.0/markup/highlight/highlight.go"
        },
        {
          "category": "external",
          "summary": "https://github.com/gohugoio/hugo/blob/v0.165.0/markup/internal/attributes/attributes.go",
          "url": "https://github.com/gohugoio/hugo/blob/v0.165.0/markup/internal/attributes/attributes.go"
        },
        {
          "category": "external",
          "summary": "https://www.vulncheck.com/advisories/hugo-through-stored-cross-site-scripting-via-unescaped-code-fence-attribute-values",
          "url": "https://www.vulncheck.com/advisories/hugo-through-stored-cross-site-scripting-via-unescaped-code-fence-attribute-values"
        }
      ],
      "release_date": "2026-08-24T10:29:10.191000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-09-09T23:14:36+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
          "product_ids": [
            "Red Hat Hardened Images:hugo-main@aarch64",
            "Red Hat Hardened Images:hugo-main@src",
            "Red Hat Hardened Images:hugo-main@x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2026:66266"
        },
        {
          "category": "workaround",
          "details": "Update to a fixed version of Hugo. As a workaround, disable code-fence attribute support in the goldmark configuration by setting markup.highlight.codeFences to false, or use a custom render hook that explicitly escapes attribute values before writing them to HTML output.",
          "product_ids": [
            "Red Hat Hardened Images:hugo-main@aarch64",
            "Red Hat Hardened Images:hugo-main@src",
            "Red Hat Hardened Images:hugo-main@x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.1"
          },
          "products": [
            "Red Hat Hardened Images:hugo-main@aarch64",
            "Red Hat Hardened Images:hugo-main@src",
            "Red Hat Hardened Images:hugo-main@x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "github.com/gohugoio/hugo: Hugo: Stored Cross-Site Scripting via unescaped code-fence attribute values"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…