CVE-2026-18215
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 package | Versions | Reported by |
|---|---|---|
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 26.6.7-3 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 26.6-20 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 26.6-20 before * | CVE List |
| keycloak-services | Not specified | CVE List |
| rhbk-keycloak-rhel9/rhbk-keycloak-rhel9 | Not specified | CVE List |
| rhbk-openshift-rhel9/rhbk-openshift-rhel9 | Not specified | CVE List |
| redhat build_of_keycloak | Not specified | NVD |
| keycloak (Bitnami) | before 26.7.3 | Bitnami Vulnerability Database |
All scores
| redhat | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://access.redhat.com/errata/RHSA-2026:68277 | vendor-advisory, web | |
| https://access.redhat.com/errata/RHSA-2026:68278 | vendor-advisory, web | |
| https://access.redhat.com/security/cve/CVE-2026-18215 | advisory, vdb-entry, vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2508309 | advisory, issue-tracking, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-18215 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-18215 changed 2026-09-16 | CVE Terms of Use |
| NVD | CVE-2026-18215 changed 2026-09-16 | Public domain |
| Bitnami Vulnerability Database | BIT-KEYCLOAK-2026-18215 changed 2026-09-17 | Apache-2.0 |