Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-97848
VULNERABILITY

CVE-2026-97848

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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.

Risk

CVSS
6.5
Severity
MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Timeline

Published
Nov 6, 2026 06:16
Modified
Nov 6, 2026 18:18
Last observed
Nov 6, 2026 14:00

CWE

CWE-20

References