Skip to main content
EPSS 0.2%top 91%

CVE-2026-18215: Improper Authentication in Red Hat Red Hat Build of Keycloak

0
Medium
VulnerabilityCVE-2026-18215cvecve-2026-18215
Published: 07/31/2026 (07/31/2026, 06:48:14 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Build of Keycloak

Description

Keycloak provides a way to let users log in using Microsoft accounts while restricting access to a specific organization (tenant). A flaw was discovered where this restriction is ignored when using the token exchange feature. This means an attacker with a valid Microsoft token from a completely different organization could gain access to the Keycloak realm, potentially accessing sensitive data or performing unauthorized actions.

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: 07/31/2026, 13:03:15 UTC

Technical Analysis

The vulnerability in Red Hat Build of Keycloak involves improper authentication logic related to Microsoft account login restrictions. Specifically, when using the token exchange feature, the tenant restriction that should limit access to a particular organization is ignored. This allows an attacker possessing a valid Microsoft token from an unrelated organization to gain access to the Keycloak realm. The issue could lead to unauthorized access to sensitive information or unauthorized operations within the affected Keycloak instance. The CVSS 3.1 base score is 6.8, reflecting network attack vector, high complexity, low privileges required, no user interaction, and high confidentiality and integrity impacts with no availability impact. The vendor advisory does not provide explicit patch or remediation details at this time.

Potential Impact

An attacker with a valid Microsoft token from a different organization can bypass tenant restrictions in Keycloak's Microsoft login integration via the token exchange feature. This could result in unauthorized access to the Keycloak realm, potentially exposing sensitive data or allowing unauthorized actions. The confidentiality and integrity of the system are impacted, while availability is not affected.

Mitigation Recommendations

Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-18215 for current remediation guidance. No official fix or workaround is currently documented in the provided data.

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:47:14.946Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-18215","vendor":"Red Hat"}]

Threat ID: 6a6c50cf9c2644c7f87f9879

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

Last enriched: 07/31/2026, 13:03:15 UTC

Last updated: 09/14/2026, 22:01:32 UTC

Views: 58

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