Keycloak-services: keycloak-services: injection of roles into realm default-roles via dcr endpoint (Red Hat Red Hat build of Keycloak 26.6)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.46 % · percentile 41 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- Affected products
- Red Hat · Red Hat build of Keycloak 26.6
Red Hat · Red Hat build of Keycloak 26.6.8
Red Hat · Red Hat Single Sign-On 7 - NVD status
- Awaiting Analysis
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)
- CWE-862 — Missing Authorization
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H | redhat |
| CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H | NVD · secalert@redhat.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-117893
- GCVE · GCVE-0-2026-109081
Affected products
| Product | Affected versions |
|---|---|
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-operator-bundle | unaffected : ≥ 26.6.8-2 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9 | unaffected : ≥ 26.6-24 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.6rhbk/keycloak-rhel9-operator | unaffected : ≥ 26.6-24 < * Other versions : affected |
Red Hat · Red Hat build of Keycloak 26.6.8keycloak-services | Other versions : unaffected |
Red Hat · Red Hat build of Keycloak 26.6.8rhbk/keycloak-rhel9 | Other versions : unaffected |
Red Hat · Red Hat Single Sign-On 7keycloak-services | Other versions : unaffected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |