CVE-2026-97846
Received Received - Intake

Keycloak mTLS Holder-of-Key Bypass via Token Exchange

Vulnerability report for CVE-2026-97846, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: redhat-SADP

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-25
AI Q&A
2026-09-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
redhat keycloak *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-287 When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Keycloak's mTLS holder-of-key binding feature, which normally ties tokens to a client's digital certificate for security. The flaw is in the Standard Token Exchange V2 feature, which fails to verify this certificate binding. Attackers with stolen client credentials can exploit this to obtain unrestricted tokens that bypass security protections.

Detection Guidance

To detect this vulnerability, monitor Keycloak logs for unusual token exchange activities, particularly requests to the Standard Token Exchange V2 endpoint without client certificate validation. Check for tokens issued without the expected cnf.x5t#S256 claim in environments where mTLS holder-of-key binding is enforced.

Impact Analysis

An attacker could bypass mTLS sender-constraints and obtain unconstrained Bearer tokens, gaining unauthorized access to protected resources. Exploitation requires valid client credentials and a subject token, and works only under specific non-default configurations.

Mitigation Strategies

Disable the Standard Token Exchange V2 feature if not required. Ensure all token exchanges enforce mTLS client certificate binding by verifying the cnf.x5t#S256 claim. Review and revoke any tokens issued without proper binding to prevent unauthorized access.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97846. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart