CVE-2026-109081

Keycloak-services: keycloak-services: injection of roles into realm default-roles via dcr endpoint

Medium published · updated

6.8
CVSS score out of 10 · NVD (redhat.com)

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).

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
red hat build of keycloak 26.6 red hat —— CVE.org
26.6 build keycloak —— CVE.org
red hat build of keycloak 26.6.8 red hat —— CVE.org
red hat single sign-on 7 red hat —— CVE.org

References