CVE-2026-18214CWE-862broken-access-control

CVE-2026-18214

Medium · published July 31, 2026

CVSS v3.1
6.8
EPSS
0%
Percentile
33.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00402 · 33.3th percentile
Weakness
CWE-862 · Missing Authorization
Published
2026-07-31T12:16Z
Affected products (1)
ProductVersionsFixed in
redhat/build_of_keycloakall versions—
References (4)
EPSS history
Timeline
  • 31 JUL 07:08Z
    Keycloak-services: keycloak-services: google external access-token exchange bypasses hosted-domain restriction
    cvelistv5