Token Sanitization Flaw in Keycloak Identity and Access Management Solution
Key Information:
- Vendor
Red Hat
- Status
- 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
More Red Hat Vulnerabilities
Arbitrary Command Execution Vulnerability in Ghostscript Software
Use-After-Free Flaw in Librsvg Affects GNOME's SVG Processing Tool
Time-based sudo vulnerability in Sudo
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction