Skip to main content
← Vulnerabilities

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

6.8MediumCNA
Exploited
No known exploitation
Fix
No fix listed
Who is exposed
Not reported
Published
Last modified
0.36% · 30th percentile
25/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

The Keycloak identity and access management software is affected. A remote attacker who has high-privilege login access (client creation rights or an Initial Access Token) can inject excessive roles into the realm's default roles through the Dynamic Client Registration endpoint, causing clients to generate bloated access tokens that degrade performance and memory and can lead to a denial of service.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original 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).

cve.now Index

25Pcve.now Index 25 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure3/25Reachable over the network · Unknown: No advisory context yet
  • Reach10/20Shipped in major Linux distributions
  • Severity6.8/10CVSS 6.8
  • No patch5/5No patch listed yet

What would change the score

  • Would score about 80 if added to CISA KEV
  • Would score about 75 if CISA's SSVC rates exploitation active
  • Would score about 44 if advisories confirm default setups are exposed

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Record last updated

Affected versions

  • rhbk/keycloak-operator-bundle

    Version range not reported

  • rhbk/keycloak-rhel9

    Version range not reported

  • rhbk/keycloak-rhel9-operator

    Version range not reported

  • keycloak-services

    Version range not reported

  • rhbk/keycloak-rhel9

    Version range not reported

  • keycloak-services

    Version range not reported

Evidence 3

  1. Advisory
  2. Advisory
  3. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.