What’s Vulnerable › Vulnerabilities
CVE-2026-15572: Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-05 · updated 2026-08-10
- Weakness: CWE-843
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
- Red Hat build of Keycloak 26.4: from 26.4 before 26.4.14; from 26.6 before 26.6.5 — fixed in 26.4.14, 26.6.5
How to fix
Upgrade to a fixed version: Red Hat build of Keycloak 26.4 26.4.14, 26.6.5. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2026:50846
- https://access.redhat.com/errata/RHSA-2026:50847
- https://access.redhat.com/errata/RHSA-2026:50848
- https://access.redhat.com/errata/RHSA-2026:50849
- https://access.redhat.com/security/cve/CVE-2026-15572
- https://bugzilla.redhat.com/show_bug.cgi?id=2499592
Get alerted when CVE-2026-15572 or the next vulnerability affects your stack