Skip to main content

Red Hat Keycloak CVE-2026-37982

| EUVDEUVD-2026-30886 MEDIUM
Authentication Bypass by Capture-replay (CWE-294)
2026-05-19 redhat GHSA-w4p5-rfh6-cwrv
6.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Trigger execute-actions email to victim
  2. Delivery
    Intercept or obtain email link with ExecuteActionsActionToken
  3. Exploit
    Replay token against Keycloak WebAuthn registration endpoint
  4. Execution
    Register attacker-controlled WebAuthn authenticator to victim account
  5. Persist
    Authenticate as victim using attacker's hardware credential
  6. Impact
    Maintain persistent account access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Replay attack prevention
Exploitation Conditions

The following specific conditions must be present for exploitation: (1) The Keycloak deployment must have the WebAuthn authenticator configured and active within the authentication flow; (2) The attacker must intercept or otherwise obtain a valid, unexpired ExecuteActionsActionToken delivered to the victim via email - this is the primary high-complexity barrier reflected in AC:H; (3) User interaction (UI:R) is required, likely meaning the email link must have been triggered by an administrator or by the victim requesting a required-action email, creating the token in the first place; (4) The token must not yet have been invalidated through expiry or prior use. Exploitation is limited by the requirement to compromise the email delivery channel or otherwise obtain the token out-of-band - this rules out opportunistic mass exploitation. Authentication level for the attacker is PR:N (no Keycloak account needed), but email channel access is the de-facto prerequisite. Deployments not using WebAuthn enrollment via email-triggered flows are not exposed to this specific attack path.

Impact

The CVSS 3.1 base score of 6.8 (Medium) is shaped by AV:N (network-reachable), AC:H (high attack complexity), PR:N (no attacker privileges required), and UI:R (user interaction required). The AC:H and UI:R factors are the primary score-depressors: the attacker must succeed in intercepting or obtaining the victim's execute-actions email link, a non-trivial precondition requiring either email channel access, phishing, or a man-in-the-middle position. Despite the moderate score, the downstream impact is severe - C:H and I:H reflect full account compromise and persistent attacker-controlled credential enrollment, which is a worst-case identity outcome. No EPSS score was provided in the intelligence data, preventing probabilistic exploitation likelihood comparison. The vulnerability is not listed in CISA KEV, and no public POC has been identified at time of analysis, suggesting exploitation remains targeted or theoretical rather than widespread. SSVC assessment: exploitation status is 'none/proof-of-concept unknown', automatable is 'no' (AC:H and UI:R preclude mass scanning), technical impact is 'total' given persistent account takeover. Overall, this is a lower-probability but high-consequence vulnerability - prioritize remediation for Keycloak deployments where WebAuthn is actively used and email channel security cannot be guaranteed.

Exploit ScenarioDerived

An attacker with the ability to intercept or obtain a victim's execute-actions email - through phishing, email forwarding misconfiguration, or compromised mail relay - extracts the ExecuteActionsActionToken embedded in the link. The attacker then initiates or replays the WebAuthn registration flow against the Keycloak instance using this token, registering their own hardware security key or passkey as an authenticator on the victim's account. From this point forward, the attacker can authenticate as the victim using their own device, maintaining persistent account access even if the victim subsequently changes their password.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 19, 2026

Token replay exploitation in Red Hat Build of Keycloak's WebAuthn flow allows an unauthenticated remote attacker who intercepts an ExecuteActionsActionToken email link to enroll their own hardware-backed WebAuthn authenticator to a victim's account. Successful exploitation bypasses authentication entirely and grants the attacker persistent, credential-backed access to the compromised account. No public exploit code has been identified at time of analysis, and CISA KEV confirmation is absent, but the High confidentiality and integrity impact from CVSS underscores the severity if the attack preconditions are met.

RemediationAI

No specific patched version number was provided in the available intelligence data; the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-37982 should be consulted for the authoritative fix version once published. Until a patch is applied, compensating controls should focus on limiting the attack surface of the vulnerable token flow: disable WebAuthn registration via email-triggered execute-actions workflows if WebAuthn enrollment can be enforced through a separate, administrator-controlled channel (trade-off: reduces self-service enrollment capability). Reduce token TTL for ExecuteActionsActionTokens to the shortest operationally feasible window to shrink the interception and replay window. Enforce email delivery over TLS and audit mail relay configurations to reduce interception risk. Monitor Keycloak audit logs for unexpected WebAuthn credential registrations, particularly those occurring on accounts where the user did not initiate registration. The Bugzilla entry at https://bugzilla.redhat.com/show_bug.cgi?id=2455329 may contain interim guidance or patch commits as the fix progresses.

Affected Packages

maven org.keycloak:keycloak-services fix: 26.6.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

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

Technical ContextAI · show details

Red Hat Build of Keycloak is an enterprise identity and access management (IAM) platform derived from the upstream Keycloak project. The vulnerability resides in the WebAuthn (Web Authentication API) registration flow, specifically in how Keycloak validates and enforces single-use semantics on ExecuteActionsActionTokens - short-lived signed tokens distributed via email to trigger user-side actions such as required action completion or credential setup. The root cause is improper token replay protection: the token either is not invalidated after its first use, is not bound to a specific session or context, or the WebAuthn registration path does not enforce the token's intended scope. Although no CWE is formally assigned in the submission, this maps conceptually to replay attack weaknesses (analogous to CWE-294: Authentication Bypass by Capture-replay). The affected CPE cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:* covers all tracked versions of Red Hat's Keycloak build with no version ceiling confirmed in the available data.

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:N/UI:R/S:U/C:H/I:H/A:N
Red Hat 6.8 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A flaw was found in Keycloak. This authentication vulnerability allows a remote attacker to replay ExecuteActionsActionToken tokens within Keycloak's WebAuthn (Web Authentication) flow. By intercepting an execute-actions email link, an attacker can register their own authenticator to a victim's account. This leads to unauthorized enrollment of a hardware-backed credential, enabling persistent account takeover.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 61 maven packages depend on org.keycloak:keycloak-services (28 direct, 33 indirect)

Ecosystem-wide dependent count for version 26.6.2.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Data Quality
7 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.0%
Patch available Yes
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
Medium
Technical Impact
Partial

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:*:*:*:*:*:*:*:*
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-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-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-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-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

Vendor StatusVendor

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