CVE-2026-18214
published medium CVSS 3.1 · 6.8Keycloak-services: keycloak-services: google external access-token exchange bypasses hosted-domain restriction
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.6 · 26.6.7-3 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.6 · 26.6-20 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.6 · 26.6-20 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | keycloak-servicesRed Hat build of Keycloak 26.6.7 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk-keycloak-rhel9/rhbk-keycloak-rhel9Red Hat build of Keycloak 26.6.7 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk-openshift-rhel9/rhbk-openshift-rhel9Red Hat build of Keycloak 26.6.7 | Unaffected | Not required | redhat |
| Red Hat | — | keycloak-servicesRed Hat Data Grid 8 | Unaffected | Not required | redhat |
| Red Hat | — | keycloak-servicesRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | keycloak-servicesRed Hat Single Sign-On 7 | Unaffected | Not required | redhat |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6.7-3 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-20 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6 | 26.6-20 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6.7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6.7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.6.7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Data Grid 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-862 Missing Authorization
References
4- RHSA-2026:68277 https://access.redhat.com/errata/RHSA-2026:68277
- RHSA-2026:68278 https://access.redhat.com/errata/RHSA-2026:68278
- https://access.redhat.com/security/cve/CVE-2026-18214
- RHBZ#2508308 https://bugzilla.redhat.com/show_bug.cgi?id=2508308
Provider assertions
2redhat · cna
Keycloak-services: keycloak-services: google external access-token exchange bypasses hosted-domain restriction
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bdd09e35d80dc9c87a88b470d0c0a66edb14aea35e6fbbd582be6f1c5d1f69f4
- Ingested
- 23 Sep 2026, 09:03:18 UTC
- Source record
- Official CVE record