CVE-2026-18215CWE-287

CVE-2026-18215

Medium · published July 31, 2026

CVSS v3.1
6.8
EPSS
0%
Percentile
33.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00404 · 33.5th percentile
Weakness
CWE-287 · Improper Authentication
Published
2026-07-31T12:16Z
Affected products (1)
ProductVersionsFixed in
redhat/build_of_keycloakall versions—
References (4)
EPSS history
Timeline
  • 31 JUL 06:48Z
    Keycloak-services: keycloak-services: microsoft external access-token exchange bypasses configured tenant
    cvelistv5