Keycloak-services: keycloak-services: protocol mapper with jsontype=json bypasses token sanitization
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.4 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.4 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.4.17 | unaffected | — | ||||||
| Red Hat | Red Hat build of Keycloak 26.4.17 | unaffected | — | ||||||
| Red Hat | Red Hat build of Keycloak 26.6 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.6 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.6 | affected |
|
||||||
| Red Hat | Red Hat build of Keycloak 26.6.8 | unaffected | — | ||||||
| Red Hat | Red Hat build of Keycloak 26.6.8 | unaffected | — | ||||||
| Red Hat | Red Hat Single Sign-On 7 | unaffected | — |
No data.
No data.
No data available yet.
Vendor Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.338% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:build_keycloak:26.4::el9 cpe:/a:redhat:build_keycloak:26.6::el9 |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | keycloak-services: keycloak-services: Protocol mapper with jsonType=JSON bypasses token sanitization | Keycloak-services: keycloak-services: protocol mapper with jsontype=json bypasses token sanitization |
| First Time appeared |
Redhat
Redhat build Keycloak Redhat red Hat Single Sign On |
|
| CPEs | cpe:/a:redhat:build_keycloak: cpe:/a:redhat:red_hat_single_sign_on:7 |
|
| Vendors & Products |
Redhat
Redhat build Keycloak Redhat red Hat Single Sign On |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in the token sanitization logic of Keycloak, an open source identity and access management solution. The issue occurs when a protocol mapper is configured to emit structured claims using the JSON type. The security check designed to remove unauthorized role mappings only looks for standard Java maps and fails to recognize Jackson based JSON objects. This allows an attacker to inject forged client roles into security tokens, which could lead to unauthorized access to protected resources. | |
| Title | keycloak-services: keycloak-services: Protocol mapper with jsonType=JSON bypasses token sanitization | |
| Weaknesses | CWE-20 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|