Token Sanitization Flaw in Keycloak Identity and Access Management Solution

MonitorData or code tampering over the network by a logged-in user.
6.5MEDIUM

Key Information:

Vendor

Red Hat

CVE ID
CVE ID:
CVE-2026-97848
Vendor
CVE Published:
6 November 2026

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Red Hat Build Of Keycloak 26.4. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (6.5).

What is CVE-2026-97848?

A security flaw exists in the token sanitization mechanism of Keycloak, an open-source identity and access management solution. This vulnerability arises when a protocol mapper emits structured claims utilizing the JSON type. The implemented security check intended to remove unauthorized role mappings is limited to standard Java maps and fails to account for Jackson-based JSON objects. Consequently, this oversight permits malicious actors to inject falsified client roles into the security tokens, potentially leading to unauthorized access to restricted resources.

Affected Version(s)

Red Hat build of Keycloak 26.4 26.4.17-2

Red Hat build of Keycloak 26.4 26.4-29

Red Hat build of Keycloak 26.4 26.4-30

References

Arbitrary Command Execution Vulnerability in Ghostscript Software

CVE-2026-101258
Red HatRed Hat Enterprise Lin...7.8HIGH

Use-After-Free Flaw in Librsvg Affects GNOME's SVG Processing Tool

CVE-2026-96889
Red HatRed Hat Enterprise Lin...πŸ˜„πŸ‘Ύ7.8HIGH

Time-based sudo vulnerability in Sudo

CVE-2026-96512
Red HatRed Hat Enterprise Lin...7.8HIGH
View more Red Hat vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

Red Hat would like to thank Katika Mohaseen (GitHub: h1-mrz) for reporting this issue.
.