Back to CVE records
Medium 6.8Published Jul 31, 2026

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.

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

Affected products
from 26.6.7-3 not affected
CNA record
Red Hat Red Hat Data Grid 8
redhat:jboss_data_grid
8
CNA record
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

  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vdb-entry, x-refsource-redhat, vendor-advisory
  • issue-tracking, x-refsource-redhat, vendor-advisory

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.