Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain standard Keycloak user account in target realm
-
DeliveryAcquire Initial Access Token via legitimate issuance or social engineering
-
ExploitSubmit DCR request registering client with User Property mapper targeting privileged internal claim path
-
ExecutionAuthenticate registered client to receive access token carrying forged admin roles
-
PersistCall Keycloak Admin REST API with forged token
-
ImpactExfiltrate client secrets and create backdoor realm administrator account
Vulnerability Assessment
| Weakness |
CWE
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three simultaneous conditions: the attacker must hold a valid, authenticated standard user account in the target Keycloak realm (CVSS PR:L confirms authenticated access is mandatory - unauthenticated exploitation is not possible); the attacker must possess an Initial Access Token (IAT) granting DCR invocation rights - even a limited or minimally scoped IAT is sufficient; and Dynamic Client Registration must be enabled in the target realm by a realm administrator (DCR is a non-default feature requiring explicit activation). A customized DCR policy that explicitly validates and restricts allowed claim paths in User Property mappers would not be exploitable - only the default DCR policy is affected. CVSS AV:N confirms the attack is fully network-reachable with no requirement for local system access. Exploitation is bounded to the specific realm in which the attacker holds an account and IAT; cross-realm exploitation is not described. The key limiting factor for real-world exposure is whether the organization has both activated DCR and issued IATs to accounts accessible to potential adversaries. |
| Impact | The vendor-provided CVSS 3.1 score of 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N) accurately captures the network-accessible, low-complexity, low-privilege nature of this attack. However, the Scope:Unchanged (S:U) designation appears conservative: successful exploitation allows the attacker to act as a realm administrator and compromise other independently registered OAuth clients - a blast radius that arguably crosses authorization boundaries and warrants S:C. Defenders should treat effective impact as broader than the base score implies. No EPSS score is available from the provided data, which limits quantitative exploitation probability assessment. The vulnerability is not listed in the CISA KEV at time of analysis and no public POC is identified, moderating near-term opportunistic risk. That said, the attack prerequisites - a standard user account and any Initial Access Token - are relatively accessible in deployments where DCR is enabled for general users, and the technical impact (full realm admin takeover, client secret exfiltration) is severe enough to warrant urgent remediation priority in affected deployments. The limiting factor is DCR enablement: realms that have never activated DCR are not exposed. |
| Exploit ScenarioDerived | An attacker with a standard Keycloak account and a valid (even scoped) Initial Access Token submits a DCR request registering a new OAuth client, embedding a User Property mapper that targets an internal admin role claim path rather than a benign user attribute. Upon authenticating with that registered client, the attacker receives an access token carrying forged realm-admin roles. Using this token, the attacker calls the Keycloak Admin REST API to enumerate other clients, retrieve their confidential secrets, create backdoor administrator accounts, or alter realm authentication policies - all without requiring any additional privilege escalation. No public exploit code is identified at time of analysis, but the attack leverages only standard OAuth and Keycloak API calls with no advanced tooling required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accounts and limited Initial Access Tokens to forge administrative roles directly into their own access tokens. The underlying flaw is a missing claim-path validation in the default DCR policy for User Property mappers, which permits writing attacker-controlled values into sensitive internal claim locations that normally carry role and privilege assertions. Successful exploitation enables takeover of other registered OAuth clients, exfiltration of confidential client secrets, and full administrative control over the affected Keycloak realm. No confirmed active exploitation or public exploit code is identified at time of analysis.
RemediationAI
Consult the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-16102 for the authoritative patched release - specific fix version numbers were not present in the provided intelligence data and must be retrieved directly from Red Hat (patch available per vendor advisory). As an immediate compensating control, disable Dynamic Client Registration entirely in any realm where it is not operationally required; this eliminates the vulnerable attack surface with no impact beyond forcing manual OAuth client registration workflows. If DCR must remain enabled, restrict Initial Access Token issuance exclusively to trusted realm administrators and immediately audit and revoke any IATs previously issued to standard or untrusted users - standard users should not hold tokens that grant DCR invocation rights. Audit all existing DCR-registered clients and their associated protocol mapper configurations for signs of unauthorized claim-path manipulation, particularly any User Property mappers targeting role or admin claim namespaces. Enable and review Keycloak admin event logs for anomalous client registrations or unexpected role assignments predating patch deployment.
Affected VersionsENISA
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
Keycloak is Red Hat's open-source identity and access management platform, underpinning Red Hat Single Sign-On 7 and integrated into Red Hat Data Grid 8 and JBoss EAP Expansion Pack. Dynamic Client Registration (DCR) is an OAuth 2.0 protocol extension (RFC 7591) that allows software clients to register themselves programmatically with an authorization server, typically bootstrapped using a short-lived Initial Access Token issued by a realm administrator. User Property mappers are Keycloak protocol mapper plugins that extract attributes from a user record and inject them as claims into issued tokens. The root cause is that the default DCR policy omits validation of the destination claim path when a User Property mapper is submitted during client registration - an attacker can specify an internal privileged claim path (e.g., realm role membership assertions) as the mapper target. When a token is subsequently issued for the registered client, Keycloak faithfully populates the forged claim, effectively self-minting elevated privileges. Affected CPE identifiers include cpe:2.3:a:red_hat:red_hat_build_of_keycloak, cpe:2.3:a:red_hat:red_hat_single_sign-on_7, cpe:2.3:a:red_hat:red_hat_data_grid_8, and cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack. CWE is unspecified in the advisory, but the root cause class is improper input validation combined with authorization logic bypass via claim-path traversal.
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:L/PR:L/UI:N/S:U/C:H/I:H/A:N
PR:L because a standard user account plus Initial Access Token is required; S:C because forged tokens grant control over other clients and realm admin scope, crossing the attacker's original authorization boundary.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the Dynamic Client Registration (DCR) component of Keycloak, an identity and access management solution. The default DCR policy fails to properly validate the claim path for User Property mappers, allowing them to write values to sensitive internal claim locations. An attacker with a standard user account and a limited Initial Access Token can exploit this to forge administrative roles in their access token. This allows the attacker to take over other clients, steal confidential secrets, and potentially gain full administrative control over the realm.
Executive ViewAI
Keycloak's Dynamic Client Registration component contains a privilege escalation vulnerability (CVSS 8.1) allowing standard user accounts to forge administrative roles and gain complete control of the affected realm. Organizations using Keycloak for OAuth/OIDC authentication face potential unauthorized access to registered applications, client credential theft, and full realm compromise without proper mitigation.
Disable Dynamic Client Registration if not required for operations. If DCR is necessary, restrict Initial Access Token issuance to highly trusted administrators, disable User Property mappers in DCR policies, implement rigorous claim validation logic that prevents role and privilege assertion modification, and deploy enhanced logging and alerting on realm administrator actions and access token claim modifications.
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.
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-53382
GHSA-6x4h-v8cp-whwh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB