CVE-2026-15572CWE-843

CVE-2026-15572

High · published August 5, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
50.6
In the wild
Unconfirmed
What it is

A flaw was found in Keycloak's Dynamic Client Registration (DCR) security policy management. The "Allowed Protocol Mapper Types" policy, which restricts which types of data mappers a client can use, fails to re-validate the mapper type during a client update if the mapper's configuration remains unchanged. An attacker with client registration privileges can exploit this by first registering an allowed mapper type with a malicious configuration and then swapping it for a restricted, high-privilege mapper type (such as one that hardcodes administrative roles). This allows the attacker to gain full administrative access to the Keycloak realm.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00652 · 50.6th percentile
Weakness
CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
Published
2026-08-05T20:16Z
Affected products (2)
ProductVersionsFixed in
redhat/build_of_keycloak≥ 26.4, < 26.4.1426.4.14
redhat/build_of_keycloak≥ 26.6, < 26.6.526.6.5
References (6)
EPSS history
Timeline
  • 05 AUG 15:09Z
    Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation
    cvelistv5