{"id":"CVE-2026-18214","title":"Keycloak allows users to log in using Google accounts and can be configured to only allow users from specific Google Workspace domains","summary":"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 Keycloa…","severity":"medium","cvss":6.8,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","cwe":["CWE-862"],"vendor":"redhat","product":"build_of_keycloak","affected":["build_of_keycloak"],"patched":["build_of_keycloak 26.6.7"],"published":"2026-07-31","updated":"2026-09-16","sourceUpdated":"2026-09-16T19:17:09.047","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-18214","references":[{"url":"https://access.redhat.com/errata/RHSA-2026:68277","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:68278","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2026-18214","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2508308","label":"secalert@redhat.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-18214.json"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-18214"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18214"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"epss":0.00402,"epssPercentile":0.31683,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-31T23:21:18.526784Z"},"ingestedAt":"2026-08-01T23:16:02.176Z","slug":"CVE-2026-18214","body":"## Overview\n\nKeycloak 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.\n\n## Affected\n\n- `build_of_keycloak`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **RHSA-2026:68278** · Red Hat · fixed in: Red Hat build of Keycloak 26.6.7 · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:68278)\n- **RHSA-2026:68277** · Red Hat · fixed in: Red Hat build of Keycloak 26.6 · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:68277)","depth":"sunlit","depthScore":37,"depthScoreParts":{"impact":37.4,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}