Keycloak-services: keycloak-services: injection of roles into realm default-roles via dcr endpoint
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 6, 2026
- Updated
- Nov 10, 2026
- Reserved
- Oct 12, 2026
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).
| Product | Versions |
|---|---|
| Red Hat build of Keycloak 26.6 Red Hat | 26.6.8-2 and later Not Affected |
| Red Hat build of Keycloak 26.6 Red Hat | 26.6-24 and later Not Affected |
| Red Hat build of Keycloak 26.6 Red Hat | 26.6-24 and later Not Affected |
| Red Hat build of Keycloak 26.6.8 Red Hat | |
| Red Hat build of Keycloak 26.6.8 Red Hat | |
| Red Hat Single Sign-On 7 Red Hat |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.8 Medium | redhat |
Weaknesses
- CWE-862 Missing Authorization
References
- RHSA-2026:95761Vendor Advisory
- RHSA-2026:95762Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-109081Vulnerability Database
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.