CVE-2026-97848

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.
Configurations

No configuration.

History

06 Nov 2026, 18:18

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:95759 -
  • () https://access.redhat.com/errata/RHSA-2026:95762 -

06 Nov 2026, 11:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:95760 -
  • () https://access.redhat.com/errata/RHSA-2026:95761 -

06 Nov 2026, 06:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-06 06:16

Updated : 2026-11-09 23:17


NVD link : CVE-2026-97848

Mitre link : CVE-2026-97848

CVE.ORG link : CVE-2026-97848


JSON object : View

Products Affected

No product.

CWE
CWE-20

Improper Input Validation