{
  "threat_severity" : "Important",
  "public_date" : "2026-06-25T15:58:33Z",
  "bugzilla" : {
    "description" : "keycloak: Keycloak: Cross-site scripting (XSS) via case-insensitive URI validation bypass",
    "id" : "2480170",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2480170"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.3",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-79",
  "details" : [ "A flaw was found in Keycloak. A remote attacker with administrative privileges, specifically those with `manage-client` permission or access to client registration endpoints, could bypass client Uniform Resource Identifier (URI) validation. This is achieved by registering a malicious client with a specially crafted redirect URI using a case-insensitive `javascript:` or `data:` scheme. This Cross-Site Scripting (XSS) vulnerability allows for arbitrary code execution in the Keycloak origin when a victim clicks the crafted link, such as in the logout flow or the Admin Console.", "A flaw was found in Keycloak. A remote attacker with administrative privileges, specifically those with `manage-client` permission or access to client registration endpoints, could bypass client Uniform Resource Identifier (URI) validation. This is achieved by registering a malicious client with a specially crafted redirect URI using a case-insensitive `javascript:` or `data:` scheme. This Cross-Site Scripting (XSS) vulnerability allows for arbitrary code execution in the Keycloak origin when a victim clicks the crafted link, such as in the logout flow or the Admin Console." ],
  "statement" : "This flaw is rated as High. Keycloak's client URI validation is vulnerable to a case-insensitivity issue, allowing attackers to bypass scheme blocklists by using mixed-case `javascript:` or `data:` URIs. This can lead to cross-site scripting (XSS) in the Keycloak origin when a victim interacts with a crafted link, such as during the logout flow. Exploitation requires an authenticated administrator with `manage-client` privileges or access to client registration endpoints, and user interaction.",
  "acknowledgement" : "Red Hat would like to thank saku0512 for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat build of Keycloak 26.4",
    "release_date" : "2026-06-25T00:00:00Z",
    "advisory" : "RHSA-2026:30050",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.4::el9",
    "package" : "rhbk/keycloak-operator-bundle:26.4.13-1"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.4",
    "release_date" : "2026-06-25T00:00:00Z",
    "advisory" : "RHSA-2026:30050",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.4::el9",
    "package" : "rhbk/keycloak-rhel9:26.4-19"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.4",
    "release_date" : "2026-06-25T00:00:00Z",
    "advisory" : "RHSA-2026:30050",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.4::el9",
    "package" : "rhbk/keycloak-rhel9-operator:26.4-19"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.4.13",
    "release_date" : "2026-06-25T00:00:00Z",
    "advisory" : "RHSA-2026:30049",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.4::el9",
    "package" : "rhbk/keycloak-rhel9"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.6",
    "release_date" : "2026-06-25T00:00:00Z",
    "advisory" : "RHSA-2026:30084",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.6::el9",
    "package" : "rhbk/keycloak-operator-bundle:26.6.4-2"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.6",
    "release_date" : "2026-06-25T00:00:00Z",
    "advisory" : "RHSA-2026:30084",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.6::el9",
    "package" : "rhbk/keycloak-rhel9:26.6-8"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.6",
    "release_date" : "2026-06-25T00:00:00Z",
    "advisory" : "RHSA-2026:30084",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.6::el9",
    "package" : "rhbk/keycloak-rhel9-operator:26.6-8"
  }, {
    "product_name" : "Red Hat build of Keycloak 26.6.4",
    "release_date" : "2026-06-25T00:00:00Z",
    "advisory" : "RHSA-2026:30083",
    "cpe" : "cpe:/a:redhat:build_keycloak:26.6::el9",
    "package" : "rhbk/keycloak-rhel9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-9086\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-9086" ],
  "name" : "CVE-2026-9086",
  "mitigation" : {
    "value" : "To mitigate this vulnerability, restrict the ability to register new clients and manage existing client configurations. If Dynamic Client Registration is not required, disable it in Keycloak's Realm Settings under Client Registration Policies. If Dynamic Client Registration is necessary, ensure that policies are strictly configured to prevent anonymous client registration and require initial access tokens for all client registrations. Additionally, limit the `manage-client` role to only trusted administrators. Changes to Keycloak configuration may require a service restart or redeployment to take effect.",
    "lang" : "en:us"
  },
  "csaw" : false
}