CVE-2026-15572
Description
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.
How to fix
- redhat build_of_keycloak26.4.14, 26.6.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat build_of_keycloak | 26.4 ≤ v < 26.4.14, 26.6 ≤ v < 26.6.5 | 26.4.14, 26.6.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.