8.1High

CVE-2026-16102Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers

Red Hat Red Hat build of Keycloak 26.4; Red Hat Red Hat build of Keycloak 26.4.14; Red Hat Red Hat build of Keycloak 26.6; Red Hat Red Hat build of Keycloak 26.6.5 Published: (3 months ago)

Description

A flaw was found in the Dynamic Client Registration (DCR) component of Keycloak, an identity and access management solution. The default DCR policy fails to properly validate the claim path for User Property mappers, allowing them to write values to sensitive internal claim locations. An attacker with a standard user account and a limited Initial Access Token can exploit this to forge administrative roles in their access token. This allows the attacker to take over other clients, steal confidential secrets, and potentially gain full administrative control over the realm.

Weakness (CWE): CWE-551CWE-284

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

References and patches

CPE matches (NVD) (5)

  • cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* ≥ 26.4 < 26.4.14
  • cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* ≥ 26.6 < 26.6.5
  • cpe:2.3:a:redhat:data_grid:8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:jboss_enterprise_application_platform_expansion_pack:-:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*