Skip to main content

Keycloak CVE-2026-97846

| EUVDEUVD-2026-86530 MEDIUM
Improper Authentication (CWE-287)
2026-09-25 redhat GHSA-f7cv-8449-mr73
6.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain stolen client credentials
  2. Delivery
    Call Standard Token Exchange V2 endpoint
  3. Exploit
    Bypass missing certificate-binding check
  4. Execution
    Receive unrestricted non-cert-bound token
  5. Impact
    Access protected resources as the client

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of: (1) the attacker already possesses valid confidential client credentials (PR:L - a stolen client secret or key, not something obtainable through this flaw); (2) the Keycloak/Red Hat SSO deployment has the new Standard Token Exchange V2 feature enabled and in use; and (3) the deployment relies on mTLS holder-of-key certificate binding as a protection, since the flaw is that V2 fails to enforce that certificate check. The limiting factors are significant: mTLS holder-of-key binding is a non-default hardening feature, Token Exchange V2 must be active, and the attacker needs pre-existing credential theft, which together justify the AC:H/PR:L rating and reduce realistic attack surface to environments that specifically opted into certificate-bound tokens.

Impact

This is a genuine but conditional security-control-bypass, not a mass-exploitable flaw. The CVSS vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N, base 6.8) is internally consistent with the description: network-reachable (token endpoint), but AC:H and PR:L reflect that the attacker must already possess valid client credentials AND the deployment must both use the new Standard Token Exchange V2 feature and rely on mTLS holder-of-key certificate binding. There is no EPSS score, no CISA KEV listing, and no public exploit in the provided data - so the correct exploitation status is 'no public exploit identified at time of analysis.' The signals are non-conflicting: a mid-6 CVSS with high attack complexity, credential prerequisite, and no exploitation telemetry points to a real-but-lower-priority defense-in-depth failure rather than an urgent widespread threat. The core caveat: exploitation is entirely gated on the victim having deliberately enabled mTLS holder-of-key binding, which is itself a hardening feature - organizations relying on it as a mitigation for stolen-credential attacks should prioritize patching, since this bug silently defeats exactly that protection.

Exploit ScenarioDerived

An attacker who has already stolen a confidential client's credentials (e.g., leaked client secret or private key) calls Keycloak's Standard Token Exchange V2 endpoint. Because V2 fails to enforce the certificate-bound (holder-of-key) constraint, the attacker receives a standard, unrestricted access token usable without presenting the original client's TLS certificate, defeating the mTLS binding that was supposed to render the stolen credentials unusable. No public proof-of-concept is identified in the available data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 25, 2026

mTLS holder-of-key certificate binding is not enforced in Keycloak's Standard Token Exchange V2 flow, so an attacker who already holds valid confidential client credentials can obtain a standard, unrestricted token that escapes the certificate-binding protection the deployment believed was in place. Affected distributions include Red Hat Build of Keycloak and Red Hat Single Sign-On 7, and exploitation is conditional on three things being true at once: the attacker must already possess a stolen client secret or key (the CVSS vector rates this PR:L - a precondition the flaw itself does not grant), the deployment must have Standard Token Exchange V2 enabled and in active use, and the deployment must be relying on mTLS holder-of-key binding as a hardening control. No public exploit code has been identified at time of analysis and there is no CISA KEV listing; the assessed vector (AV:N/AC:H/PR:L/UI:N, C:H/I:H/A:N) reflects a genuine but conditional security-control bypass rather than a mass-exploitable flaw, since certificate-bound tokens are a non-default opt-in configuration.

RemediationAI

No vendor-released patch has been identified at time of analysis, so remediation is currently compensating-control based until Red Hat publishes fixed builds through https://access.redhat.com/security/cve/CVE-2026-97846 and https://bugzilla.redhat.com/show_bug.cgi?id=2540949. The most direct control is to disable the Standard Token Exchange V2 feature in any realm that also relies on mTLS holder-of-key binding, reverting to V1 exchange behavior which continues to enforce the certificate check; the trade-off is loss of V2 functionality and any flows built on it, so this should be scoped per-realm rather than globally disabled. If V2 cannot be turned off, disable token exchange for the confidential clients that depend on certificate-bound tokens, or restrict the exchange grant to a narrow set of trusted clients via client policies, accepting the operational cost of broken delegation flows. Because exploitation requires pre-existing credential theft, rotate all confidential client secrets and keys as a precaution and monitor for the anomaly signature this flaw produces - token issuance succeeding for a client whose presented certificate does not match the binding recorded at original token issuance, or access tokens lacking the expected cnf confirmation claim following a token exchange. Do not disable mTLS client authentication itself as a workaround; that would remove the primary client authentication mechanism and expand exposure well beyond this flaw.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected technology is Keycloak's OAuth 2.0 / OpenID Connect authorization server, specifically the token exchange implementation (RFC 8693) and its interaction with mutual-TLS certificate-bound access tokens (RFC 8705). Keycloak's mTLS holder-of-key binding is a hardening feature that binds an issued token to the certificate presented by the client that requested it, typically surfaced through the confirmation (cnf) claim, so that a stolen token cannot be replayed by a different client. The newly introduced Standard Token Exchange V2 code path performs the exchange without validating that binding certificate, which is classified as CWE-287 (Improper Authentication): the authorization decision implicitly assumes client authenticity was proven by mTLS, but V2 skips that check, so the exchange succeeds and yields a fresh, unrestricted standard token. The root cause class is therefore a missing-authentication-step error in a new feature rather than a cryptographic break - the underlying PKI and certificate validation logic remain sound, but the V2 exchange path never calls into it. CPE data identifies the affected builds as Red Hat Build of Keycloak (two versioned entries marked with wildcards, indicating version ranges rather than a single release) and Red Hat Single Sign-On 7; the flaw is specific to deployments that combine Token Exchange V2 with holder-of-key binding.

Know when Red Hat Build Of Keycloak gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.8 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

Network token endpoint (AV:N); AC:H and PR:L because attacker needs stolen client credentials plus a deployment using Token Exchange V2 and mTLS binding; bypassed token grants confidentiality and integrity impact, no availability effect.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 6.8 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

Keycloak provides a feature called mTLS holder-of-key binding which ensures that a token can only be used by the client that originally requested it by binding it to their digital certificate. A flaw was discovered where the new Standard Token Exchange V2 feature does not check for this certificate. This allows an attacker with stolen client credentials to obtain a standard, unrestricted token that bypasses these security protections.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
High
Keycloak/Red Hat SSO is a widely deployed enterprise identity and access management platform
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Total

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-120984 CRITICAL
9.1 Nov 07

Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i

CVE-2026-117691 CRITICAL
9.1 Nov 05

Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-97175 HIGH
8.8 Nov 05

Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-112208 HIGH
8.1 Nov 05

Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs

CVE-2026-114232 HIGH
8.1 Nov 05

Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-92857 HIGH
8.1 Nov 05

Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy