Vulnerability · Published Jul 31, 2026 · Assigned by redhat
CVE-2026-18215Keycloak-services: keycloak-services: microsoft external access-token exchange bypasses configured tenant
Medium 6.8
In plain English
A medium-severity improper authentication in Red Hat build of Keycloak 26.6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.6 | see references |
| Red Hat | Red Hat build of Keycloak 26.6 | see references |
| Red Hat | Red Hat build of Keycloak 26.6 | see references |
| Red Hat | Red Hat build of Keycloak 26.6.7 | see references |
| Red Hat | Red Hat build of Keycloak 26.6.7 | see references |
| Red Hat | Red Hat build of Keycloak 26.6.7 | see references |
| Red Hat | Red Hat Data Grid 8 | see references |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | see references |
| Red Hat | Red Hat Single Sign-On 7 | see references |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- RHSA-2026:68277 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:68278 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-18215 vdb-entry, x_refsource_REDHAT
- RHBZ#2508309 issue-tracking, x_refsource_REDHAT