SecurityContext

CVE-2026-18215: Keycloak - Broken Access Control

  • Cve: CVE-2026-18215
  • Name: Keycloak - Broken Access Control
  • 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.
  • Impact: Attackers with valid Microsoft tokens from other organizations can access Keycloak realms, potentially exposing sensitive data or performing unauthorized actions.
  • Remediation: Update to the latest Keycloak version with the fix for token exchange organization restriction.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: broken_access_control, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00404
  • Epss percentile: 0.35116
  • Assignee: [email protected]
  • Published at: 2026-07-31T08:16:27Z
  • Age in days: 116
  • Modified at: 2026-09-16T19:17:09Z
  • References total: 4
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-18215
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-287Improper Authentication

References

Same in every row:

  • Source: nvd
UrlTags
https://access.redhat.com/security/cve/CVE-2026-18215Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2508309Issue Tracking, Vendor Advisory
https://access.redhat.com/errata/RHSA-2026:68277
https://access.redhat.com/errata/RHSA-2026:68278

Products

ProductAffectedPlatform boundSourcesUrl
redhat:build_of_keycloakall versionsnonvd/v1/products/redhat/build_of_keycloak

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts