Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-18214 EUVD-2026-51485GHSA-wmhp-w67v-6jm5

Keycloak-services: keycloak-services: google external access-token exchange bypasses hosted-domain restriction

Published Jul 31, 2026 · Updated Sep 16, 2026 · Assigned by redhat

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

VendorProductAffectedFixed
Red Hat Red Hat build of Keycloak 26.6 — —
Red Hat Red Hat build of Keycloak 26.6.7 — —
Red Hat Red Hat Data Grid 8 — —
Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack — —
Red Hat Red Hat Single Sign-On 7 — —

Advisories 1

References