Skip to main content
EPSS 0.2%top 91%

CVE-2026-18214: Missing Authorization in Red Hat Red Hat Build of Keycloak

0
Medium
VulnerabilityCVE-2026-18214cvecve-2026-18214
Published: 07/31/2026 (07/31/2026, 07:08:26 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Build of Keycloak

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.

CVSS v3.1

Score 6.8medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected software

Red Hat

Red Hat Build of Keycloak

Red Hat

Red Hat Data Grid 8

Red Hat

Red Hat JBoss Enterprise Application Platform Expansion Pack

Red Hat

Red Hat Single Sign-On 7

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/07/2026, 14:30:26 UTC

Technical Analysis

The vulnerability in Red Hat Build of Keycloak involves a missing authorization check during the token exchange process that swaps a Google token for a Keycloak token. Specifically, the hosted-domain claim validation is absent, allowing attackers with valid Google accounts from domains not permitted by the configured Google Workspace domain restrictions to bypass these restrictions and obtain unauthorized Keycloak tokens. This flaw requires the preview Token Exchange V1 feature to be enabled and specific client permissions granted. Red Hat has assessed the severity as moderate with a CVSS 3.1 score of 6.8. No official fix or mitigation that meets Red Hat's standards for ease of use, applicability, or stability is currently available.

Potential Impact

Successful exploitation allows an attacker to bypass Google hosted-domain restrictions and gain unauthorized access to Keycloak realms by obtaining valid Keycloak tokens. This leads to high confidentiality and integrity impacts, enabling attackers to read and modify sensitive application data. There is no impact on availability. The attack requires network access, low privileges, and no user interaction, but has high attack complexity due to required feature enablement and permissions.

Mitigation Recommendations

Currently, no official fix or mitigation meeting Red Hat's criteria for ease of use, applicability, or stability is available. Users should monitor the Red Hat advisory for updates. Mitigation options that do not meet Red Hat's standards may exist but are not recommended. Organizations should evaluate the risk of enabling the preview Token Exchange V1 feature and restrict its use accordingly until a fix is released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-07-29T08:40:32.702Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-18214","vendor":"Red Hat"}]

Threat ID: 6a6c50cf9c2644c7f87f9875

Added to database: 07/31/2026, 07:37:51 UTC

Last enriched: 08/07/2026, 14:30:26 UTC

Last updated: 09/13/2026, 10:01:29 UTC

Views: 57

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses