Skip to main content

Red Hat Keycloak EUVDEUVD-2026-51485

| CVE-2026-18214 HIGH
Missing Authorization (CWE-862)
2026-07-31 redhat GHSA-wmhp-w67v-6jm5
8.1
CVSS 3.1 · NVD
Share

Severity by source

Vendor (redhat) PRIMARY
MEDIUM
qualitative
NVD
8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI
8.1 HIGH

AV:N because the token exchange endpoint is network-accessible; PR:L because any Google account (freely obtainable) is required; C:H/I:H for full realm access; A:N as availability is unaffected.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat
6.8 MEDIUM
qualitative

Primary rating from Vendor (redhat).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

6
Analysis Updated
Aug 07, 2026 - 18:32 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Aug 07, 2026 - 18:22 vuln.today
cvss_changed
Severity Changed
Aug 07, 2026 - 18:22 NVD
MEDIUM HIGH
CVSS changed
Aug 07, 2026 - 18:22 NVD
6.8 (MEDIUM) 8.1 (HIGH)
Analysis Generated
Jul 31, 2026 - 07:52 vuln.today
CVE Published
Jul 31, 2026 - 07:08 cve.org
MEDIUM 6.8

DescriptionNVD

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.

AnalysisAI

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account holder - regardless of their domain - to swap a Google OAuth token for a Keycloak realm token and gain unauthorized access. Affected deployments are those specifically configured to restrict Google-based logins to approved Workspace domains while also having token exchange enabled; both conditions must be present. No public exploit code has been identified at time of analysis, and EPSS sits at 0.20% (10th percentile), consistent with SSVC's exploitation status of 'none', though SSVC rates technical impact as 'total' given that successful exploitation delivers full realm access.

Technical ContextAI

Keycloak (cpe:2.3:a:red_hat:red_hat_build_of_keycloak) implements Google as a social identity provider and exposes a token exchange endpoint - an OAuth 2.0 extension that allows clients to present an external identity token (here, a Google OAuth token) and receive a Keycloak-issued session token in return. Administrators can configure the Google IdP to restrict logins to users belonging to specific Google Workspace domains (e.g., only @company.com). The root cause is CWE-862 (Missing Authorization): the authorization guard that enforces those domain restrictions is applied during the standard interactive login flow but is absent in the token exchange code path. Because Google accounts are freely obtainable, the privilege bar (CVSS PR:L) is low - any attacker with a Google account from any domain can trigger the flaw. Red Hat also lists Red Hat Data Grid 8, Red Hat JBoss Enterprise Application Platform Expansion Pack, and Red Hat Single Sign-On 7 as affected, reflecting Keycloak's role as the underlying identity layer across those products.

RemediationAI

Consult the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-18214 for an updated patch; no exact fixed version number is confirmed in available data at time of analysis. As an immediate compensating control, organizations should disable the Keycloak token exchange feature entirely if it is not required - this directly closes the vulnerable code path with no impact to standard interactive login flows. If token exchange is operationally required, consider restricting access to the token exchange endpoint at the network or reverse-proxy layer to trusted internal clients only, accepting the trade-off that external service-to-service token exchange flows will be broken. A third option is to temporarily remove or disable the Google IdP domain restriction configuration, forcing all Google-authenticated users through normal approval workflows outside Keycloak - this trades the bypass risk for a broader access-control burden. Monitor https://access.redhat.com/security/cve/CVE-2026-18214 for patch availability updates.

CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

CVE-2026-7504 HIGH
8.1 May 19

Open redirect in Red Hat build of Keycloak permits remote attackers to send victims to attacker-controlled hosts by abus

Vendor StatusVendor

Share

EUVD-2026-51485 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy