Keycloak-services: keycloak-services: protocol mapper with jsontype=json bypasses token sanitization
Red Hat / Red Hat build of Keycloak 26.4、Red Hat build of Keycloak 26.4.17、Red Hat build of Keycloak 26.6、Red Hat build of Keycloak 26.6.8、Red Hat Single Sign-On 7
CVE 记录列出的受影响产品:Red Hat · Red Hat Single Sign-On 7、Red Hat · Red Hat build of Keycloak 26.4、Red Hat · Red Hat build of Keycloak 26.4.17、Red Hat · Red Hat build of Keycloak 26.6、Red Hat · Red Hat build of Keycloak 26.6.8
CVE 记录列出的受影响产品:Red Hat · Red Hat Single Sign-On 7、Red Hat · Red Hat build of Keycloak 26.4、Red Hat · Red Hat build of Keycloak 26.4.17、Red Hat · Red Hat build of Keycloak 26.6、Red Hat · Red Hat build of Keycloak 26.6.8nday 产品登记表中 Keycloak 的产品类型
当前阶段
DIS
披露
CVSS
6.5 MEDIUM v3.1
# 生命周期
横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录
# 摘要
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.