Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as limited admin of a controlled realm
-
DeliveryCall Admin REST API referencing target client's unique ID
-
ExploitPer-request cache resolves client without realm-ownership check
-
ExecutionRead/modify master-realm client configuration
-
ImpactExfiltrate client credentials or redirect admin login to malicious site
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold delegated administrative privileges (e.g. realm-admin / manage-clients) over at least one Keycloak realm they control (PR:H) - this is not remotely reachable by an anonymous user. Exploitation depends on the Admin REST API's per-request in-memory client cache resolving a client by its unique identifier without validating realm ownership, so the attacker must know or reference the unique ID of a target client in the master realm. Effective exploitation is limited by the required privileged account, the need to reference a valid cross-realm client ID, and the high attack complexity of leveraging the cache-resolution behavior; it applies to Red Hat Build of Keycloak and Red Hat Single Sign-On 7 with delegated/multi-realm administration. |
| Impact | This is a genuine but moderate-priority authorization flaw (CWE-862), not an inflated high-CVSS finding. The vendor CVSS 3.1 vector (AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:L, 5.5) correctly reflects the two strongest limiting signals: PR:H (the attacker must already hold delegated administrative privileges over at least one realm) and AC:H (exploitation depends on the specific per-request in-memory cache resolving a client by ID cross-realm, and on the attacker knowing/referencing a target client ID in the master realm). No EPSS score, no CISA KEV listing, and no public proof-of-concept are present in the supplied data, so this is 'no public exploit identified at time of analysis' - no evidence of active exploitation. The one point I would dispute is C:L: because the flaw explicitly enables exposure of client credentials/secrets in the master realm, confidentiality impact is arguably C:H, and combined with I:H (modifying master-realm client config to redirect admin logins) the real business impact of cross-tenant compromise is higher than the 5.5 base implies (my independent estimate ~6.8). Net: prioritize patching for multi-tenant/delegated-admin Keycloak deployments, but the PR:H + AC:H gating and absence of exploitation signals make this a scheduled-remediation item rather than an emergency. |
| Exploit ScenarioDerived | An organization runs Keycloak with delegated administration, granting a business unit's operator admin rights only over their own tenant realm. That operator issues Admin REST API calls referencing a client's unique ID that actually belongs to the master realm; the per-request cache resolves it without checking realm ownership, letting them read the master-realm client's secret or rewrite its configuration to redirect administrative logins to an attacker-controlled site. No public exploit code is identified at time of analysis, and exploitation requires the pre-existing privileged (PR:H) account plus knowledge of the target client identifier (AC:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 21, 2026
Keycloak's Admin REST API allows authenticated administrators with delegated privileges over a realm to read or modify sensitive client configurations in the master realm by abusing a per-request in-memory cache that resolves clients by unique identifier without verifying realm ownership. The flaw affects Red Hat Build of Keycloak and Red Hat Single Sign-On 7, requires the attacker to hold privileged delegated administration rights and to know or reference a target client's unique ID, and is assessed as a moderate-priority authorization issue rather than a high-CVSS critical defect. No public exploit code was identified at time of analysis, and successful exploitation could expose client credentials or redirect administrative login attempts to malicious sites.
RemediationAI
No vendor-released patch identified at time of analysis; monitor the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-94215 and Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2537312 for patched versions of Red Hat Build of Keycloak and Red Hat Single Sign-On 7. Until a patch is available, restrict delegated administrative roles such as realm-admin and manage-clients to fully trusted operators, because the flaw requires an attacker to hold privileged administration rights over at least one realm; the trade-off is reduced flexibility for legitimate multi-realm administration. Audit and remove unnecessary cross-realm client-management permissions, and review master-realm client configurations and credentials for unexpected changes. There is no vendor-documented configuration workaround in the provided data, and disabling or altering the Admin REST API client cache is not confirmed as safe or supported; any such change should be tested for performance and functional impact.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-862 (Missing Authorization): the Keycloak Admin REST API uses a per-request in-memory cache to look up clients by their unique identifier but does not check that the resolved client belongs to the realm specified in the request path. This lets an administrator who holds delegated privileges (for example realm-admin or manage-clients) over a realm they control reference a client that actually resides in the master realm, crossing an intended administrative authorization boundary. The CVSS vector includes PR:H and AC:H, reflecting that the attacker must already have significant privileges and must successfully leverage the cache-resolution behavior with a valid cross-realm client ID. Affected CPE entries point to Red Hat Build of Keycloak and Red Hat Single Sign-On 7, with wildcard versions indicating the input does not define exact fixed or vulnerable version boundaries; no KEV or public exploit data was supplied.
Know when Red Hat 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:H/UI:N/S:U/C:L/I:H/A:L
PR:H (delegated realm admin required) and AC:H (cache-resolution + known cross-realm client ID); C:H because master-realm client secrets are exposed, I:H from config tampering/login redirection.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the Admin REST API of Keycloak, an open-source identity and access management solution. The issue occurs because the API uses a per-request in-memory cache to resolve clients by their unique identifier without verifying if the client belongs to the realm specified in the request path. This allows an administrator with limited privileges to read or modify sensitive client configurations in the master realm by accessing them through a realm they control. Successful exploitation could lead to the exposure of client credentials or the redirection of administrative login attempts to malicious sites.
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
Affected Products (CPE)CVE.org
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
EUVD-2026-83841
GHSA-v5q7-f26g-qxgh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB