CVE-2026-15572
Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation
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.
INFO
Published Date :
Aug. 5, 2026, 4:16 p.m.
Last Modified :
Aug. 5, 2026, 5:16 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 53f830b8-0a3f-465b-8143-3b8a9948e749 | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | MITRE-CVE |
Solution
- Apply Keycloak security updates promptly.
- Review client registration policies.
- Restrict client registration privileges.
- Monitor for unauthorized mapper changes.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-15572.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-15572 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-15572
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-15572 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-15572 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Aug. 05, 2026
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2026:50846 Added Reference https://access.redhat.com/errata/RHSA-2026:50847 Added Reference https://access.redhat.com/errata/RHSA-2026:50848 Added Reference https://access.redhat.com/errata/RHSA-2026:50849 Changed Affected [{'cpes': ['cpe:/a:redhat:build_keycloak:'], 'vendor': 'Red Hat', 'product': 'Red Hat Build of Keycloak', 'packageName': 'rhbk/keycloak-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}] [{'cpes': ['cpe:/a:redhat:build_keycloak:26.4::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Keycloak 26.4', 'versions': [{'status': 'unaffected', 'version': '26.4-22', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'keycloak-rhel9-container', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:build_keycloak:26.4::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Keycloak 26.4', 'versions': [{'status': 'unaffected', 'version': '26.4-22', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'keycloak-rhel9-operator-container', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:build_keycloak:26.4::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Keycloak 26.4', 'versions': [{'status': 'unaffected', 'version': '26.4.14-1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'rhbk/keycloak-operator-bundle', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:build_keycloak:26.4::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Keycloak 26.4.14', 'packageName': 'rhbk/keycloak-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:build_keycloak:26.6::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Keycloak 26.6', 'versions': [{'status': 'unaffected', 'version': '26.6-11', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'keycloak-rhel9-container', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:build_keycloak:26.6::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Keycloak 26.6', 'versions': [{'status': 'unaffected', 'version': '26.6-11', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'keycloak-rhel9-operator-container', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:build_keycloak:26.6::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Keycloak 26.6', 'versions': [{'status': 'unaffected', 'version': '26.6.5-1', 'lessThan': '*', 'versionType': 'rpm'}], 'packageName': 'rhbk/keycloak-operator-bundle', 'collectionURL': 'https://catalog.redhat.com/software/containers/', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:build_keycloak:26.6::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat build of Keycloak 26.6.5', 'packageName': 'rhbk/keycloak-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}] -
New CVE Received by [email protected]
Aug. 05, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:/a:redhat:build_keycloak:'], 'vendor': 'Red Hat', 'product': 'Red Hat Build of Keycloak', 'packageName': 'rhbk/keycloak-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'affected'}] Added 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. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-843 Added Reference https://access.redhat.com/security/cve/CVE-2026-15572 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2499592