Keycloak-services: keycloak-services: injection of roles into realm default-roles via dcr endpoint (Red Hat Red Hat build of Keycloak 26.6)

CVE-2026-109081
MEDIUM 6.8

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)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 6.8CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:Hredhat
CVSS 3.1MEDIUM 6.8CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:HNVD · secalert@redhat.com (Secondary)

European references

Affected products

ProductAffected versions
Red Hat · Red Hat build of Keycloak 26.6
rhbk/keycloak-operator-bundle
unaffected : ≥ 26.6.8-2 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.6
rhbk/keycloak-rhel9
unaffected : ≥ 26.6-24 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.6
rhbk/keycloak-rhel9-operator
unaffected : ≥ 26.6-24 < *
Other versions : affected
Red Hat · Red Hat build of Keycloak 26.6.8
keycloak-services
Other versions : unaffected
Red Hat · Red Hat build of Keycloak 26.6.8
rhbk/keycloak-rhel9
Other versions : unaffected
Red Hat · Red Hat Single Sign-On 7
keycloak-services
Other versions : unaffected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD