CVE-2026-15572 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation
An attacker with client registration privileges can bypass protocol mapper restrictions to gain full administrative access to the Keycloak realm.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-15572?
CVE-2026-15572 is a high-severity vulnerability in Redhat Build of Keycloak, published on 5 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-843
Which versions are affected by CVE-2026-15572?
1 open source package ship an affected version, including keycloak. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
keycloak Bitnami | From 26.4.0 | 26.4.14, 26.6.5 |
Products include Redhat Build of Keycloak.
How do I fix CVE-2026-15572?
Upgrade keycloak to a fixed version for your release line: 26.4.14 or 26.6.5.
Is CVE-2026-15572 being exploited?
There is no known exploitation of CVE-2026-15572 in the wild and no public exploit code.
Other vulnerabilities in Redhat Build of Keycloak
- CVE-2026-3047 Keycloak SAML Broken has Authentication Bypass by Primary Weakness
- CVE-2026-15573 Keycloak-services: keycloak-services: authorization bypass via unnormalized uri matching in pathmatcher
- CVE-2026-16102 Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers
- CVE-2026-1609 Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users
- CVE-2026-11800 Org.keycloak:keycloak-services: keycloak: authentication bypass via jwt algorithm confusion
Sources
Also known as BIT-keycloak-2026-15572, GHSA-cj2r-7gqh-wx4f.