← CVE Intelligence

CVE-2026-18214

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Red Hat / Red Hat build of Keycloak 26.6unaffected 26.6.7-3 before *
Red Hat / Red Hat build of Keycloak 26.6unaffected 26.6-20 before *
Red Hat / Red Hat build of Keycloak 26.6unaffected 26.6-20 before *
Red Hat / Red Hat build of Keycloak 26.6.7unaffected
Red Hat / Red Hat build of Keycloak 26.6.7unaffected
Red Hat / Red Hat build of Keycloak 26.6.7unaffected
Red Hat / Red Hat Data Grid 8unaffected
Red Hat / Red Hat JBoss Enterprise Application Platform Expansion Packunaffected
Red Hat / Red Hat Single Sign-On 7unaffected

CWE

CWE-862

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.