Read the docs
TI-2026-14985 Aliases CVE-2026-18215GHSA-v8h5-7wp9-qxxv

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

Priority LOW 37CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-287.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00404 34th percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Red HatRed Hat build of Keycloak 26.6—26.6.7-3Patch availableCNA
Red HatRed Hat build of Keycloak 26.6—26.6-20Patch availableCNA
Red HatRed Hat build of Keycloak 26.6—26.6-20Patch availableCNA
Red HatRed Hat build of Keycloak 26.6.7——Not affectedCNA
Red HatRed Hat build of Keycloak 26.6.7——Not affectedCNA
Red HatRed Hat build of Keycloak 26.6.7——Not affectedCNA
Red HatRed Hat Data Grid 8——Not affectedCNA
Red HatRed Hat JBoss Enterprise Application Platform Expansion Pack——Not affectedCNA
Red HatRed Hat Single Sign-On 7——Not affectedCNA
  • Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6.7-3 Patch available CNA
  • Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-20 Patch available CNA
  • Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-20 Patch available CNA
  • Red Hat build of Keycloak 26.6.7 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat build of Keycloak 26.6.7 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat build of Keycloak 26.6.7 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Data Grid 8 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat JBoss Enterprise Application Platform Expansion Pack VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:*not specified by NVDVulnerableRed Hat
  • cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:-:*:*:* Versions not specified by NVD Vulnerable ·Red Hat

Remediation

Red Hat 2 advisories

  • RHSA-2026:68277 Released 2026-09-16 · Red Hat rating Important
    Red Hat build of Keycloak 26.6.7 Images Security Update
    • Red Hat build of Keycloak 26.6 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
  • RHSA-2026:68278 Released 2026-09-16 · Red Hat rating Important
    Red Hat build of Keycloak 26.6.7 Security Update
    • Red Hat build of Keycloak 26.6.7

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat build of Keycloak 26.6Fixed RHSA-2026:68277
Red Hat build of Keycloak 26.6.7Fixed RHSA-2026:68278
Not affected: 3 products
  • Red Hat Data Grid 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat Single Sign-On 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-18215
  2. 2026-10-03 Alias added: GHSA-v8h5-7wp9-qxxv

References

  • TI-2026-02223 Keycloak: keycloak: unauthorized authentication via disabled saml identity provider CVSS 3.1HIGH 8.1
  • TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
  • TI-2026-13740 Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction CVSS 3.1CRITICAL 9.8
  • TI-2026-13741 Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation CVSS 3.1CRITICAL 9.1
  • TI-2026-13106 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation CVSS 3.1HIGH 8.8
  • TI-2026-02631 Authentication bypass in Red Hat build of Keycloak 26.2 CVSS 3.1HIGH 8.8
See all 110 →

Sources