AI and data stack advisories

Severe, 6 weeks2431Projects328

2431 severe, 6 weeks · 328 projects

Red HatCVE-2026-97848

Red Hat token sanitization: attacker could inject forged client roles into...

Red Hat

CVE-2026-97848 · Published Nov 6, 2026 · updated Nov 9, 2026

Medium6.5
No fix yet
Red Hat advisory

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.

Affected versions

PackageAffectedFixed in
Red Hat Single Sign-On 7
Product
all versionsNo fix yet
Red Hat build of Keycloak 26.4.17
Product
all versionsNo fix yet
all versionsNo fix yet
Red Hat build of Keycloak 26.6.8
Product
all versionsNo fix yet
all versionsNo fix yet
Details and references

More Red Hat advisories

All Red Hat