CVE Catalog

CVE-2026-18215

MediumCVSS 6.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

9th percentile - higher than 9% of all known CVEs

Summary

In Keycloak, the token exchange feature does not enforce organization (tenant) restrictions when logging in via Microsoft. An attacker with a valid Microsoft token from a different organization can gain access to the Keycloak realm, potentially accessing sensitive data or performing unauthorized actions.

Risk Assessment

Organization-based access restrictions can be completely bypassed, allowing unauthorized users to access protected resources and data.

Recommendation

Update Keycloak to a version that fixes this vulnerability. Consider temporarily disabling the token exchange feature if not essential.

Other vulnerabilities in Keycloak

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS