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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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 | — | — |
Advisories 1
- WID-SEC-2026-2677 RedHat Build of Keycloak: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 5, 2026
References
- RHSA-2026:50846 vendor-advisory
- RHSA-2026:50847 vendor-advisory
- RHSA-2026:50848 vendor-advisory
- RHSA-2026:50849 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-15572 vdb-entry
- RHBZ#2499592 issue-tracking