Home / Red Hat / Red Hat build of Keycloak 26.4 / CVE-2026-97847
CVE-2026-97847: is it exploited, and which versions of Red Hat build of Keycloak 26.4 are affected and fixed?
CVE-2026-97847 is an authentication bypass (improper authentication) vulnerability in Red Hat build of Keycloak 26.4. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). The record names no affected version range. Fixed in 26.4.17-2, 26.4-29, 26.4-30, 26.6.8-2 and 1 more (CVE record by redhat). Severity: High (7.1, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-97847?
Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority
A flaw was found in the protocol mapper and identity resolution components of Keycloak. The issue occurs when a client manager uses hardcoded-claim mappers to override identity claims in sessionless service-account tokens. Because these tokens lack a session ID, Keycloak may incorrectly resolve the token bearer as a different, highly privileged user based on the manipulated claims. This can allow an attacker with limited client management permissions to impersonate a realm administrator and gain full control over the realm.
From the CVE record by redhat, last updated November 9, 2026, 17:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 rhbk/keycloak-operator-bundle | all versions (default) | 26.4.17-2 |
| Red Hat | Red Hat build of Keycloak 26.4 rhbk/keycloak-rhel9 | all versions (default) | 26.4-29 |
| Red Hat | Red Hat build of Keycloak 26.4 rhbk/keycloak-rhel9-operator | all versions (default) | 26.4-30 |
| Red Hat | Red Hat build of Keycloak 26.4.17 keycloak-services | not stated | |
| Red Hat | Red Hat build of Keycloak 26.4.17 rhbk/keycloak-rhel9 | not stated | |
| Red Hat | Red Hat build of Keycloak 26.6 rhbk/keycloak-operator-bundle | all versions (default) | 26.6.8-2 |
| Red Hat | Red Hat build of Keycloak 26.6 rhbk/keycloak-rhel9 | all versions (default) | 26.6-24 |
| Red Hat | Red Hat build of Keycloak 26.6 rhbk/keycloak-rhel9-operator | all versions (default) | 26.6-24 |
| Red Hat | Red Hat build of Keycloak 26.6.8 keycloak-services | not stated | |
| Red Hat | Red Hat build of Keycloak 26.6.8 rhbk/keycloak-rhel9 | not stated | |
| Red Hat | Red Hat Single Sign-On 7 keycloak-services | not stated |
As the CVE record by redhat states it, last updated November 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-97847?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-97847 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, November 9, 2026)
- EPSS
- 0.33% probability of exploitation activity in the next 30 days, percentile 28.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-287 Improper Authentication
Is there a workaround? (from the CVE record)
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. --- CME Mitigation Guidance (2026-11-06) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to prevent identity resolution in Keycloak from reconstructing authenticated UserModel principals from post-mapper claims in sessionless service-account tokens: upgrade to Keycloak 26.4.17, 26.6.8 (or the fixed Rhbk/Keycloak Rhel/Keycloak Services builds), which validates the integrity of identity claims in sessionless service-account tokens and prevents resolving authenticated identities from manipulated post-mapper claims, closing all 2 injection vectors (hardcoded-claim protocol mapper manipulation, sessionless token principal substitution). Until patched, this is a concern on Keycloak deployments with OIDC clients configured for sessionless service-account tokens where delegated users hold manage-clients permissions, so Audit and restrict manage-clients permissions on OIDC clients, avoid using sessionless service-account tokens, and monitor client protocol mappers for unauthorized sub or preferred_username overrides. As a compensating measure, Detect unauthorized addition of hardcoded-claim protocol mappers to Keycloak OIDC client configurations by monitoring application configurations against a declared baseline via drift detection. These controls limit blast radius and contain exploitation, but they do not fix the underlying improper identity resolution defect — apply the upstream patch to fully remediate. Highest-impact CME: CME-1007 Application Configuration Drift Detection (IaC Enforcement) (medium)
Where are the vendor advisories and references?
- RHSA-2026:95759 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:95760 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:95761 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:95762 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-97847 vdb-entry, x_refsource_REDHAT
- RHBZ#2540950 issue-tracking, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- September 25, 2026
- Published
- November 5, 2026, 17:16 UTC
- CVE record updated
- November 9, 2026, 17:24 UTC by redhat
- NVD
- Awaiting Analysis, last modified November 9, 2026, 18:17 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat build of Keycloak 26.4?
- Nov 7, 2026CVE-2026-120984 Red Hat build of Keycloak 26.4: code injection (remote code execution)
- Nov 6, 2026CVE-2026-97848 Red Hat build of Keycloak 26.4: improper input validation
- Nov 6, 2026CVE-2026-97367 Red Hat build of Keycloak 26.4: authentication bypass (improper authentication)
- Nov 6, 2026CVE-2026-96547 Red Hat build of Keycloak 26.4: missing authorization
- Nov 5, 2026CVE-2026-96453 Red Hat build of Keycloak 26.4: improper certificate validation
- Nov 5, 2026CVE-2026-93998 Red Hat build of Keycloak 26.4: cryptographic signature not verified
- Nov 5, 2026CVE-2026-92857 Red Hat build of Keycloak 26.4: improper input validation
- Nov 5, 2026CVE-2026-92855 Red Hat build of Keycloak 26.4: authentication bypass (improper authentication)
Every CVE in Red Hat build of Keycloak 26.4
Questions about CVE-2026-97847
Is CVE-2026-97847 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which version fixes CVE-2026-97847?
26.4.17-2, 26.4-29, 26.4-30, 26.6.8-2 and 26.6-24, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-97847?
High (7.1, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2026-97847?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.