Keycloak-services: keycloak-services: injection of roles into realm default-roles via dcr endpoint
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-862.
Summary
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6.8-2 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6-24 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6-24 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6.8 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.6.8 | — | — | Not affected | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | Not affected | CNA |
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6.8-2 Patch available CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-24 Patch available CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-24 Patch available CNA
- Red Hat build of Keycloak 26.6.8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.6.8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — Not affected CNA
Remediation
Red Hat 2 advisories
- RHSA-2026:95762 Released 2026-11-06 · Red Hat rating ImportantRed Hat build of Keycloak 26.6.8 Images Security Update
- Red Hat build of Keycloak 26.6 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:95761 Released 2026-11-06 · Red Hat rating ImportantRed Hat build of Keycloak 26.6.8 Security Update
- Red Hat build of Keycloak 26.6.8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat build of Keycloak 26.6 | Fixed | RHSA-2026:95762 |
| Red Hat build of Keycloak 26.6.8 | Fixed | RHSA-2026:95761 |
Not affected: 1 product
- Red Hat Single Sign-On 7
Timeline
- 2026-11-06 Threatist record created from CVE-2026-109081
- 2026-11-06 Alias added: GHSA-5g6f-qmff-3rjc
- 2026-11-06 Affected versions changed · CNA
- 2026-11-06 1 new reference · CNA
- 2026-11-06 Fix available: RHSA-2026:95761 · Red Hat
- 2026-11-06 Fix available: Red Hat build of Keycloak 26.6.8 · Red Hat
- 2026-11-06 CVSS score added · Red Hat
- 2026-11-06 Fix available: rhbk/[email protected], rhbk/[email protected], rhbk/[email protected] · CNA
- 2026-11-06 1 new reference · CNA
- 2026-11-06 Fix available: RHSA-2026:95762 · Red Hat
- 2026-11-06 Fix available: Red Hat build of Keycloak 26.6 · Red Hat
- 2026-11-07 Priority changed: MEDIUM → LOW
References
More Red Hat vulnerabilities
- TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-109081 · CVE Program
- CVE-2026-109081 · NVD
- FIRST EPSS
- GHSA-5g6f-qmff-3rjc · GitHub Advisory Database · CC BY 4.0
- CVE-2026-109081 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences