CVE-2026-18215Keycloak-services: keycloak-services: microsoft external access-token exchange bypasses configured tenant
- 6.8MediumCVSS base score
- 0.40%Exploitation in 30 daysEPSS · top 65% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 2 days later
· 2 days later
Published
- 47 days later
· 47 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVDNVD · Modified | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.40% · top 65% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Affected products
Red Hat · Red Hat build of Keycloak 26.6
- unaffected 26.6.7-3 – < *
Red Hat · Red Hat build of Keycloak 26.6
- unaffected 26.6-20 – < *
Red Hat · Red Hat build of Keycloak 26.6
- unaffected 26.6-20 – < *
Red Hat · Red Hat build of Keycloak 26.6.7
All versions: unaffected
Red Hat · Red Hat build of Keycloak 26.6.7
All versions: unaffected
Red Hat · Red Hat build of Keycloak 26.6.7
All versions: unaffected
All versions: unaffected
Red Hat · Red Hat JBoss Enterprise Application Platform Expansion Pack
All versions: unaffected
Red Hat · Red Hat Single Sign-On 7
All versions: unaffected
What to do
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
References
References4
- RHSA-2026:68277 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:68278 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-18215 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2508309 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-51480 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-18215)Record last updated .