Intel

AIKIDO-2026-361998

keycloak-services is vulnerable to Denial of Service (DoS)

CVE-2026-109081Published 4 days ago
November 16, 2026

68

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

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

How do I fix this?

Upgrade org.keycloak:keycloak-services to the patched version. The fix installs a default-roles registration policy that blocks untrusted default-role changes.

Who does this affect?

You are affected if you use a vulnerable version of org.keycloak:keycloak-services and you allow client creation through Dynamic Client Registration and requests can include the deprecated defaultRoles field.

Versions

15.0.0 - 26.6.7

Fixed in 26.6.8

26.7.0 - 26.8.1

Fixed in 26.8.2

Background info

keycloak-services is vulnerable to Denial of Service (DoS) in versions 15.0.0 - 26.6.7 and 26.7.0 - 26.8.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea