CVE-2026-97848

MEDIUM CVSS 3.1: 6.5 EPSS 0.48%
Updated Nov 10, 2026
Java
Parameter Value
CVSS 6.5 (MEDIUM)
Type CWE-20 (Improper Input Validation)
Vendor Java
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1