8.1

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

Modified
Published 31-07-2026Last modified 16-09-2026

Vulnerability summary

CVE-2026-18215 is a high (CVSS 8.1) Improper Authentication vulnerability in redhat build_of_keycloak. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 33.4% of scored vulnerabilities.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (NVD)
EPSS score
0.40%
0%100%
Low · +0.18 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 31-07-2026
    PublishedVulnerability first disclosed.
  2. 16-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

33%

Versus all other CVEs

30-day change

Increase +0.18 pp

From 0.23% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat1 product

1 vendor · 1 product

References

4 links