6.5Orta

CVE-2026-97848Keycloak-services: keycloak-services: protocol mapper with jsontype=json bypasses token sanitization

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 Yayım: (13 gün önce)

Açıklama

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.

Zayıflık türü (CWE): CWE-20

Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.

Etkilenen ürünler ve sürümler

ÜreticiÜrünSürümler
build keycloak 26.4 —
build keycloak 26.6 —
Red Hat Red Hat build of Keycloak 26.4 all versions
Red Hat Red Hat build of Keycloak 26.4.17 —
Red Hat Red Hat build of Keycloak 26.6 all versions
Red Hat Red Hat build of Keycloak 26.6.8 —
Red Hat Red Hat Single Sign-On 7 —

Kaynaklar ve yamalar