Keycloak-services: keycloak-services: injection of roles into realm default-roles via dcr endpoint
- CVE-2026-109081
- GHSA-5g6f-qmff-3rjc
- EUVD-2026-117893
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).
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Red Hat Red Hat build of Keycloak 26.6
Affected versions Fixed in from 26.6.8-2 onwards: not affected none stated from 26.6-24 onwards: not affected none stated Red Hat Red Hat build of Keycloak 26.6.8
No versions listed
Red Hat Red Hat Single Sign-On 7
No versions listed
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.