PoC Monitor
← All CVEs
CVE-2026-9086published 25 Jun 2026 16:16 UTCData: JSON · API

Red Hat build of Keycloak 26.4

Keycloak: keycloak: cross-site scripting (xss) via case-insensitive uri validation bypass

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.

First public PoC 46 daysafter publication · 10 Aug 2026
Public PoCs11 on GitHub
CVSS7.3high · scored by CNA · CWE-79
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Red Hat Red Hat build of Keycloak 26.4

    Fixed in 26.4.13-1

    Red Hat Red Hat build of Keycloak 26.4

      Fixed in 26.4-19

      Red Hat Red Hat build of Keycloak 26.4

        Fixed in 26.4-19

        Red Hat Red Hat build of Keycloak 26.6

          Fixed in 26.6.4-2

          Red Hat Red Hat build of Keycloak 26.6

            Fixed in 26.6-8

            Red Hat Red Hat build of Keycloak 26.6

              Fixed in 26.6-8

              Mitigation

              Upgrade Red Hat build of Keycloak 26.4 to 26.4.13-1 or later.

              Upgrade Red Hat build of Keycloak 26.4 to 26.4-19 or later.

              Upgrade Red Hat build of Keycloak 26.4 to 26.4-19 or later.

              Upgrade Red Hat build of Keycloak 26.6 to 26.6.4-2 or later.

              Upgrade Red Hat build of Keycloak 26.6 to 26.6-8 or later.

              Upgrade Red Hat build of Keycloak 26.6 to 26.6-8 or later.

              Workaround

              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.

              References

              1 more

              Timeline

              Days relative to CVE publication
              t=0+7+14+21+28+35+42CVE published25 Jun 2026 · t = 0First public PoC10 Aug 2026 · t+46d

              First public PoC 46 days after publication; not in CISA KEV. First PoC: Saku0512/CVE-2026-9086-poc (created 10 Aug 2026, found by us: backfilled).

              PoC repositories

              Found on GitHub.

              1 PoCs

              PoCs 1
              RepositoryCreatedStarsAssessment
              Saku0512/CVE-2026-9086-poc 10 Aug 2026 +46 d 1 PoC

              Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.