CVE Catalog

CVE-2026-18214

MediumCVSS 6.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

9th percentile - higher than 9% of all known CVEs

Summary

In Keycloak, the token exchange feature does not enforce Google Workspace domain restrictions when logging in via Google. An attacker with a valid Google account from a different domain can bypass security checks and gain access to the Keycloak realm.

Risk Assessment

Domain restrictions can be bypassed, allowing unauthorized users from external domains to access protected resources.

Recommendation

Update Keycloak to a version that fixes this vulnerability. Consider temporarily disabling the token exchange feature if not essential.

Other vulnerabilities in Keycloak

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS