CVE-2026-18215
JSON

6.8medium

Keycloak-services: keycloak-services: microsoft external access-token exchange bypasses configured tenant

Severity
6.8medium CVSS:3.1 by redhat
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
BIT-KEYCLOAK-2026-18215

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.

Affected

Product or packageVersionsReported by
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.6.7-3 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.6-20 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 26.6-20 before *
CVE List
keycloak-servicesNot specifiedCVE List
rhbk-keycloak-rhel9/rhbk-keycloak-rhel9Not specifiedCVE List
rhbk-openshift-rhel9/rhbk-openshift-rhel9Not specifiedCVE List
redhat build_of_keycloakNot specifiedNVD
keycloak (Bitnami)before 26.7.3Bitnami Vulnerability Database

All scores

redhat6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-287

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-18215 changed 2026-09-16CVE Terms of Use
NVDCVE-2026-18215 changed 2026-09-16Public domain
Bitnami Vulnerability DatabaseBIT-KEYCLOAK-2026-18215 changed 2026-09-17Apache-2.0