Keycloak CVE-2026-2366
LOWAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Keycloak realm
-
DeliveryAcquire target user UUID via out-of-band means
-
ExploitSend crafted GET request to Admin API organizations endpoint
-
ExecutionAuthorization check bypassed due to CWE-639 flaw
-
ImpactRetrieve target user's organization membership data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V14 - Configuration Dependency management, component inventory
|
| Exploitation Conditions | Exploitation requires three specific conditions to be met simultaneously: (1) the attacker must hold a valid authenticated session in the Keycloak realm (PR:L - a low-privilege account suffices, but unauthenticated access is not sufficient); (2) the Keycloak Organizations feature must be explicitly enabled in the realm configuration - this is not a default-on feature, which materially reduces the exposed population; and (3) the attacker must know the UUID of the target user in advance, which constitutes the high attack complexity (AC:H) reflected in the CVSS vector. Exploitation is limited to confidentiality impact only - no write access, no privilege escalation, and no denial of service is achievable through this flaw. Deployments that do not use the Organizations feature are entirely unaffected regardless of Keycloak version. |
| Impact | The CVSS base vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N yields a score of 3.1 (Low), which accurately reflects a low-severity, information-disclosure-only flaw. The AC:H rating is consistent with the requirement to know the target user's UUID in advance - a non-trivial precondition that significantly reduces opportunistic exploitability. PR:L confirms that exploitation is gated behind a valid authenticated session, ruling out unauthenticated abuse. The EPSS score of 0.03% at the 7th percentile corroborates this assessment: automated or widespread exploitation is unlikely given the preconditions. No KEV listing or public POC has been identified, further supporting a low real-world urgency posture. The primary risk is targeted insider threat or lateral reconnaissance within a Keycloak-protected environment where the Organizations feature is in use. The absence of integrity and availability impact means there is no privilege escalation or service disruption vector here. Organizations that do not use the Keycloak Organizations feature are not affected, which meaningfully reduces the exposed population. |
| Exploit ScenarioDerived | An authenticated Keycloak user with no administrative role - for example, a standard end user in a multi-tenant realm - obtains the UUID of a colleague or target user through a prior interaction (such as a shared application that exposes user IDs). The attacker crafts a direct HTTP request to the Keycloak Admin API endpoint for listing organization memberships, supplying the target UUID; the API returns organizational affiliation data without verifying the caller's privilege level. No public exploit code has been identified at the time of analysis, but the attack requires only standard HTTP tooling and a valid session token. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Organization membership enumeration in Keycloak's Admin API exposes a CWE-639 authorization bypass where any authenticated, non-privileged user can query the organization affiliations of any other user, provided they possess the target's UUID and the Organizations feature is active. The CVSS score of 3.1 (Low) reflects the constrained impact - confidentiality-only, limited scope, and high attack complexity - which aligns with the EPSS score of 0.03% (7th percentile), indicating minimal real-world exploitation pressure. Red Hat has released patches under RHSA-2026:6477 and RHSA-2026:6478, and no public exploit code or CISA KEV listing has been identified at the time of this analysis.
RemediationAI
The primary remediation is to apply the vendor-released patches available through Red Hat errata RHSA-2026:6477 (https://access.redhat.com/errata/RHSA-2026:6477) and RHSA-2026:6478 (https://access.redhat.com/errata/RHSA-2026:6478). Exact upstream Keycloak fix versions are not independently confirmed from the available data - consult the Red Hat advisories for the precise patched package versions. If immediate patching is not possible and the Organizations feature is not operationally required, disabling the Keycloak Organizations feature eliminates the attack surface entirely; note that this will remove all organization-related functionality and may affect realm configurations that rely on organizational grouping. If Organizations must remain enabled, restrict Admin API access at the network perimeter to trusted internal hosts only, reducing the pool of potential authenticated callers who could abuse this endpoint. This network-level control does not eliminate the flaw but meaningfully reduces exposure in environments where the Admin API is otherwise accessible to a broad user base.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keycloak is a widely-deployed open-source Identity and Access Management (IAM) platform used for SSO, identity brokering, and user federation. Its Admin REST API exposes endpoints for managing realms, users, and organizations. The Organizations feature, when enabled, allows users to be grouped into organizational units within a realm. CWE-639 (Authorization Bypass Through User-Controlled Key) describes a class of flaw where a caller supplies a user-controlled identifier - here, the target user's UUID - and the application fails to verify that the caller is authorized to access data associated with that identifier. In this case, the Admin API endpoint responsible for listing a user's organization memberships does not enforce that the requesting principal holds administrative privileges, allowing any authenticated caller who supplies a valid UUID to retrieve sensitive organizational affiliation data.
Know when Build Of Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Network-reachable Admin API (AV:N), but AC:H because target UUID must be known in advance; PR:L as a valid session is required; C:L for limited org membership disclosure only.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in Keycloak. An authorization bypass vulnerability in the Keycloak Admin API allows any authenticated user, even those without administrative privileges, to enumerate the organization memberships of other users. This information disclosure occurs if the attacker knows the victim's unique identifier (UUID) and the Organizations feature is enabled.
Executive ViewAI
CVE-2026-2366 is a low-severity vulnerability in A flaw (CVSS 3.1). The limited severity suggests constrained impact, typically requiring specific conditions or local access for exploitation. Apply vendor updates when available as part of routine maintenance.
Apply vendor patch during routine maintenance. Standard security controls provide adequate interim protection.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
More in Build Of Keycloak
View allA heap-based buffer overflow in the HotSpot x86_64 Base64 decode intrinsic affects Oracle Java SE (8u511b33-perf, 17.0.2
A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS
A misconfiguration flaw was found in Keycloak. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploita
Keycloak's SAML identity provider broker fails to enforce client disabled status during IdP-initiated SSO flows, allowin
Privilege escalation in Red Hat Build of Keycloak allows low-privileged authenticated users to assume the permissions of
HTTP parameter pollution in Keycloak enables authentication bypass against deployments where OAuth/OIDC client applicati
Keycloak's IdentityBrokerService.performLogin endpoint fails to enforce disabled Identity Provider restrictions, allowin
A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across
A session fixation issue was discovered in the SAML adapters provided by Keycloak. Rated high severity (CVSS 7.1), this
A vulnerability was found in Wildfly, where a user may perform Cross-site scripting in the Wildfly deployment system. Ra
Refresh token replay in Keycloak allows a remote attacker who has previously captured a user's refresh token to reuse th
A vulnerability was found in Keycloak. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no
GHSA-r8jr-wg88-fq5c
NVD
CVE.org
EPSS
VulDB
Exploit-DB