CVE-2026-18214Keycloak-services: keycloak-services: google external access-token exchange bypasses hosted-domain restriction
Updated under an hour ago ()
Does this affect you?
It affects Red Hat build of Keycloak 26.6 and 4 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 6.8 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Weakness (CWE)
- CWE-862
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Modified
- Record last updated
- Sep 16, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat build of Keycloak 26.6 redhat:build_keycloak | from 26.6.7-3 not affected | CNA record |
Red Hat Red Hat Data Grid 8 redhat:jboss_data_grid | 8 | CNA record |
Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack redhat:jbosseapxp | Versions not stated | CNA record |
Red Hat Red Hat Single Sign-On 7 redhat:red_hat_single_sign_on | 7 | CNA record |
redhat build_of_keycloak redhat:build_of_keycloak | all versions | NVD |
References
- https://access.redhat.com/errata/RHSA-2026:68277vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:68278vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2026-18214vdb-entry, x-refsource-redhat, vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2508308issue-tracking, x-refsource-redhat, vendor-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.