Vulnerability · Published Jul 31, 2026 · Assigned by redhat
CVE-2026-18214Keycloak-services: keycloak-services: google external access-token exchange bypasses hosted-domain restriction
Medium 6.8
In plain English
A medium-severity missing authorization 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 allows users to log in using Google accounts and can be configured to only allow users from specific Google Workspace domains. A flaw was found where the token exchange feature, which allows swapping a Google token for a Keycloak token, does not check these domain restrictions. This means an attacker with a valid Google account from a different domain could bypass the security check and gain access to the Keycloak realm.
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-862 · 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-18214 vdb-entry, x_refsource_REDHAT
- RHBZ#2508308 issue-tracking, x_refsource_REDHAT