CVE-2026-18215

Medium

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.

SeverityMedium
CVSS6.8
Exploit probability—
ProductRedhat Build Of Keycloak
PublishedJul 31, 2026
First seenJul 31, 2026

How to fix

Affected products

ProductAffected versionsFixed in
redhat build_of_keycloakNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.