Keycloak-services: keycloak-services: injection of roles into realm default-roles via dcr endpoint
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.6 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.6 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.6 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.6.8 | unaffected | — | ||||||
| Red Hat | Red Hat build of Keycloak 26.6.8 | unaffected | — | ||||||
| Red Hat | Red Hat Single Sign-On 7 | unaffected | — |
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Keycloak | Keycloak |
|
Vendor Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.455% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:build_keycloak:26.6::el9 | |
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Denial of Service via Default Role Injection in Keycloak DCR | Keycloak-services: keycloak-services: injection of roles into realm default-roles via dcr endpoint |
| First Time appeared |
Redhat
Redhat build Keycloak Redhat red Hat Single Sign On |
|
| CPEs | cpe:/a:redhat:build_keycloak: cpe:/a:redhat:red_hat_single_sign_on:7 |
|
| Vendors & Products |
Redhat
Redhat build Keycloak Redhat red Hat Single Sign On |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Denial of Service via Default Role Injection in Keycloak DCR |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Keycloak
Keycloak keycloak |
|
| Vendors & Products |
Keycloak
Keycloak keycloak |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in Keycloak. The Dynamic Client Registration (DCR) endpoint does not properly validate authorization when processing the deprecated defaultRoles field. An authenticated attacker with client creation privileges or an Initial Access Token (IAT) can inject excessive roles into the realm's default roles configuration. This causes clients across the realm to generate bloated access tokens, resulting in performance and memory degradation that can lead to a Denial of Service (DoS). | |
| Weaknesses | CWE-862 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|