Keycloak-services: keycloak-services: google external access-token exchange bypasses hosted-domain restriction
cve-program · CVE-2026-18214
PublishedKeycloak 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-18214 · CVE overview and exploitation status
cve-program · CVE-2026-18214
Related changes
Linked by CVE identifierNo related changes are available here.