Auth bypass in Red Hat Build Of Keycloak
CVE-2026-18214
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 class: Broken Access Control
EPSS: 0.002 (8.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
Affected products
Weakness classification (CWE)
References
- secalert@redhat.com (x_refsource_REDHAT, vdb-entry, Vendor Advisory)
- RHBZ#2508308 (x_refsource_REDHAT, issue-tracking, Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-18214?
- CVE-2026-18214 is a medium-severity vulnerability in Red Hat Build Of Keycloak, classified under Missing Authorization. CVSS score: 6.8/10. Published 2026-07-31.
- How severe is CVE-2026-18214?
- Medium severity. CVSS v3 base score is 6.8 out of 10.