CVE-2026-97848Medium· 6.5▾ SunlitA 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…
▾ Sunlit zone — Low / medium · no exploitation signal
impact 35.8 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
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.
keycloak-rhel9-container (all versions)keycloak-rhel9-operator-bundle-container (all versions)keycloak-rhel9-operator-container (all versions)keycloak-servicesrhbk/keycloak-rhel9keycloak-servicesRefer to the linked advisories for vendor-supplied fixes and affected version ranges.
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.
Connected by shared product, vendor, weakness, or advisory.
CVE-2026-92857High· 8.1Keycloak-services: keycloak-services: dcr protocol mapper config not validated, allowing iat holders to forge sub and aud claims in signed tokens
CVE-2026-96547Medium· 6.5Keycloak-services: keycloak-services: dcr registration-time claim-path gap allows forging realm_access.roles
CVE-2026-97367Medium· 6.4Keycloak-services: keycloak-services: dcr azp and sid claim substitution allows account rest session takeover
CVE-2026-114232High· 8.1Keycloak-services: keycloak-services: uma protection api resourcetype field not validated — cross-owner resource access
CVE-2026-82965High· 7.5Keycloak-services: keycloak-services: unauthenticated denial of service via saml soap endpoint unbounded xml parsing
CVE-2026-93998High· 7.4Keycloak-core: keycloak-core: saml adapter does not bind signed assertions to the configured identity provider issuer