CVE-2026-96547

Keycloak-services: keycloak-services: dcr registration-time claim-path gap allows forging realm_access.roles

Published Nov 6, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in the Dynamic Client Registration component of Keycloak, an open-source identity and access management solution. The issue occurs because the system does not properly restrict which claim names can be used when setting up new clients. An attacker with valid registration credentials could create a client that incorrectly maps standard user profile information to sensitive security roles, potentially allowing them to gain unauthorized privileges on external applications that trust Keycloak tokens.

Analysis

AI-generated

Technical impact

A flaw in the Dynamic Client Registration component of Keycloak allows an attacker with valid registration credentials to set claim names that incorrectly map user profile data to sensitive security roles. The vulnerability can be exploited to create a malicious client that grants unauthorized privileges to external applications that trust Keycloak tokens. The issue stems from insufficient restrictions on claim names during client registration and is classified as a privilege escalation weakness.

Affected Systems

Keycloak, the open-source identity and access management solution, is affected. No specific version range is supplied in the available data, so all deployments that use the current Dynamic Client Registration feature are potentially vulnerable until a patch is applied.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity flaw, but the EPSS score is not available, meaning the current exploitation probability is unknown. The vulnerability is not listed in the CISA KEV catalog, suggesting there is no public evidence of widespread exploitation yet. A likely attack vector is by an attacker who has valid registration credentials, either by compromise or exploitation of a legitimate user, to submit a crafted client registration request that includes malicious claim mappings. Successful exploitation would allow the attacker to gain elevated privileges on any application that accepts Keycloak tokens with the forged realm_access.roles claim.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Upgrade to the latest Keycloak release once the vendor’s official patch is available
  • Configure the client registration service to reject claim names that map to realm_access.roles or other privileged claims
  • Restrict or disable dynamic client registration for non‑admin users and enforce administrator approval for new client registrations

Generated by OpenCVE AI on November 6, 2026 at 01:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.4::el9
cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
Title keycloak-services: keycloak-services: DCR registration-time claim-path gap allows forging realm_access.roles Keycloak-services: keycloak-services: dcr registration-time claim-path gap allows forging realm_access.roles
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Type Values Removed Values Added
Description A flaw was found in the Dynamic Client Registration component of Keycloak, an open-source identity and access management solution. The issue occurs because the system does not properly restrict which claim names can be used when setting up new clients. An attacker with valid registration credentials could create a client that incorrectly maps standard user profile information to sensitive security roles, potentially allowing them to gain unauthorized privileges on external applications that trust Keycloak tokens.
Title keycloak-services: keycloak-services: DCR registration-time claim-path gap allows forging realm_access.roles
Weaknesses CWE-862
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}

threat_severity

Moderate

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 18, 2026, 8:41 AM
Reserved
Sep 23, 2026, 12:37 PM
Status
Awaiting Analysis
Published
Nov 6, 2026, 6:16 AM
Modified
Nov 10, 2026, 8:20 PM
Severity
Moderate
Public date
Nov 5, 2026, 12:00 AM