PoC Monitor
← All CVEs
CVE-2026-18215published 31 Jul 2026 06:48 UTCData: JSON · API

Red Hat build of Keycloak 26.6

Keycloak-services: keycloak-services: microsoft external access-token exchange bypasses configured tenant

Keycloak provides a way to let users log in using Microsoft accounts while restricting access to a specific organization (tenant). A flaw was discovered where this restriction is ignored when using the token exchange feature. This means an attacker with a valid Microsoft token from a completely different organization could gain access to the Keycloak realm, potentially accessing sensitive data or performing unauthorized actions.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by NVD · CWE-287
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.6

    Fixed in 26.6.7-3

    Red Hat Red Hat build of Keycloak 26.6

      Fixed in 26.6-20

      Red Hat Red Hat build of Keycloak 26.6

        Fixed in 26.6-20

        Mitigation

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

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

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

        Workaround

        Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

        References

        Timeline

        Days relative to CVE publication
        -2t=0+2+4+6+8CVE published31 Jul 2026 · t = 0

        No public PoC found yet; not in CISA KEV.

        PoC repositories

        Found on GitHub.

        No PoC repositories found yet.