CVE-2026-15572: Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation

CVE-2026-15572 affects 162 listed versions of Red Hat Keycloak in the Dawnsentry catalogue.

8.8CVSS high
None knownexploitation
under 1%EPSS (next 30 days)
5 August 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Red Hat Keycloak

162 of 176 listed versions are affected. Fixed in 26.7.1, 26.6.5, 26.4.14. The newest release, 26.37.1, is not affected.

26.7.0 26.7 26.6.4 26.6.3 26.6.2 26.6.1 26.6.0 26.5.7 26.5.6 26.5.5 26.5.4 26.5.3 26.5.2 26.5.1 26.5.0 26.4.7 26.4.6 26.4.5 26.4.4 26.4.2 26.4.1 26.4.0 26.3.5 26.3.4 26.3.3 26.3.2 26.3.1 26.3.0 26.2.11 26.2.10 26.2.9 26.2.8 26.2.6 26.2.5 26.2.4 26.2.3 26.2.2 26.2.1 26.2.0 26.1.5 26.1.4 26.1.3 26.1.2 26.1.1 26.1.0 26.0.16 26.0.13 26.0.10 26.0.8 26.0.7 26.0.6 26.0.5 26.0.4 26.0.2 26.0.1 26.0.0 25.0.6 25.0.5 25.0.4 25.0.2 and 102 more

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (Red Hat)

Published by Red Hat on 5 August 2026. Last changed 10 August 2026.

Sources

Check one version you run: look CVE-2026-15572 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.