Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 4 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-284.
Summary
A flaw was found in the Dynamic Client Registration (DCR) component of Keycloak, an identity and access management solution. The default DCR policy fails to properly validate the claim path for User Property mappers, allowing them to write values to sensitive internal claim locations. An attacker with a standard user account and a limited Initial Access Token can exploit this to forge administrative roles in their access token. This allows the attacker to take over other clients, steal confidential secrets, and potentially gain full administrative control over the realm.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4.14-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-22 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4 | — | 26.4-22 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.4.14 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.4.14 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6.5-1 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6-11 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6 | — | 26.6-11 | Patch available | CNA |
| Red Hat | Red Hat build of Keycloak 26.6.5 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.6.5 | — | — | Not affected | CNA |
| Red Hat | Red Hat build of Keycloak 26.6.5 | — | — | Not affected | CNA |
| Red Hat | Red Hat Data Grid 8 | — | — | Not affected | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | — | — | Not affected | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | No fix listed | CNA |
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4.14-1 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-22 Patch available CNA
- Red Hat build of Keycloak 26.4 VendorRed Hat Affected — Fixed in 26.4-22 Patch available CNA
- Red Hat build of Keycloak 26.4.14 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.4.14 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6.5-1 Patch available CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-11 Patch available CNA
- Red Hat build of Keycloak 26.6 VendorRed Hat Affected — Fixed in 26.6-11 Patch available CNA
- Red Hat build of Keycloak 26.6.5 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.6.5 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat build of Keycloak 26.6.5 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Data Grid 8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat JBoss Enterprise Application Platform Expansion Pack VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* | 26.4 to before 26.4.14; 26.6 to before 26.6.5 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:data_grid:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform_expansion_pack:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:*:*:*:* Versions 26.4 to before 26.4.14; 26.6 to before 26.6.5 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:data_grid:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_enterprise_application_platform_expansion_pack:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
- cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Remediation
Red Hat 4 advisories
- RHSA-2026:50849 Released 2026-08-05 · Red Hat rating ImportantRed Hat build of Keycloak 26.6.5 Images Security Update
- Red Hat build of Keycloak 26.6 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:50847 Released 2026-08-05 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.14 Images Security Update
- Red Hat build of Keycloak 26.4 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
- RHSA-2026:50846 Released 2026-08-05 · Red Hat rating ImportantRed Hat build of Keycloak 26.4.14 Security Update
- Red Hat build of Keycloak 26.4.14
Show 1 more Red Hat advisories
- RHSA-2026:50848 Released 2026-08-05 · Red Hat rating ImportantRed Hat build of Keycloak 26.6.5 Security Update
- Red Hat build of Keycloak 26.6.5
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Single Sign-On 7 | Affected | No fix planned: Will not fix |
| Red Hat build of Keycloak 26.4 | Fixed | RHSA-2026:50847 |
| Red Hat build of Keycloak 26.4.14 | Fixed | RHSA-2026:50846 |
| Red Hat build of Keycloak 26.6 | Fixed | RHSA-2026:50849 |
| Red Hat build of Keycloak 26.6.5 | Fixed | RHSA-2026:50848 |
Not affected: 2 products
- Red Hat Data Grid 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2026-16102
- 2026-10-03 Alias added: GHSA-6x4h-v8cp-whwh
- 2026-10-16 Affected versions changed · Red Hat
References
More Red Hat Build Of Keycloak vulnerabilities
- TI-2026-02223 Keycloak: keycloak: unauthorized authentication via disabled saml identity provider CVSS 3.1HIGH 8.1
- TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
- TI-2026-13740 Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction CVSS 3.1CRITICAL 9.8
- TI-2026-13741 Keycloak-services: keycloak-services: saml broker metadata import disables response signature validation CVSS 3.1CRITICAL 9.1
- TI-2026-13106 Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation CVSS 3.1HIGH 8.8
- TI-2026-02631 Authentication bypass in Red Hat build of Keycloak 26.2 CVSS 3.1HIGH 8.8
Sources
- CVE-2026-16102 · CVE Program
- CVE-2026-16102 · NVD
- FIRST EPSS
- GHSA-6x4h-v8cp-whwh · GitHub Advisory Database · CC BY 4.0
- CVE-2026-16102 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences