Skip to main content

Red Hat Keycloak EUVDEUVD-2026-53716

| CVE-2026-18967 HIGH
Authentication Bypass by Capture-replay (CWE-294)
2026-08-06 redhat GHSA-fghp-hcwh-75j2
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain network-adjacent position
  2. Delivery
    Wait for victim IdP-Initiated login
  3. Exploit
    Intercept SAML assertion in transit
  4. Execution
    Replay assertion to Keycloak SAML broker endpoint
  5. Persist
    Keycloak issues authenticated session
  6. Impact
    Access applications as victim user

Vulnerability Assessment

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

Exploitation requires that Keycloak is explicitly configured as a SAML broker using the IdP-Initiated SSO flow - this is a non-default deployment mode that must be deliberately enabled. The attacker must occupy a network-adjacent position relative to the SAML assertion transport path (CVSS AV:A), meaning they must be on the same subnet, VLAN, or otherwise intercept traffic between the IdP and Keycloak, which is not possible from the open internet without a prior compromise. A valid, unused SAML assertion from a legitimate authentication event must be captured before it is consumed or expires. Exploitation is constrained by: the rarity of network-adjacent attacker positions in hardened environments; the requirement that a real user performs an IdP-Initiated login during the capture window; and the assertion's validity lifetime configured in the IdP. Environments using SP-Initiated SSO flow exclusively are not affected by this vulnerability.

Impact

The CVSS 8.1 score is credible but requires careful unpacking. AV:A limits the attacker's reach to the same network segment as the SAML communication path, which is a significant real-world constraint - passive interception of SAML assertions over TLS-secured channels would require a full MitM position or a compromised network appliance. However, in environments where SAML traffic transits unencrypted internal proxies or where attackers have achieved any network foothold, this barrier falls. AC:L and PR:N indicate no further complexity or credentials are needed beyond the captured assertion. The EPSS score of 0.14% aligns with SSVC's 'Exploitation: none' finding, confirming no observed in-the-wild exploitation. SSVC's 'Technical Impact: total' reflects the fact that successful replay yields full session control. The combination of a non-default required configuration (IdP-Initiated SAML broker mode), a network-adjacent attack vector, and zero current exploitation places this in the 'prioritize after actively exploited vulnerabilities' tier for most organizations, while SAML-federated environments should treat it as urgent.

Exploit ScenarioDerived

An attacker positioned on the same network segment as an enterprise's Keycloak deployment - for example, via a compromised internal host or a rogue device on a corporate VLAN - intercepts a SAML assertion issued by the corporate IdP to a legitimate user during an IdP-Initiated login. The attacker replays that same assertion to Keycloak's SAML broker endpoint before it expires, and because Keycloak does not track or reject reused assertions, it issues a full authenticated session token, granting the attacker access to all applications protected by Keycloak as the victim user. No public proof-of-concept exploit code has been identified at time of analysis, but the technique is well-understood from SAML security research and requires no specialized tooling beyond HTTP replay capability.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

AnalysisAIv2 – Aug 10, 2026

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to authenticate as arbitrary users without credentials. When Keycloak is deployed as a SAML broker in IdP-Initiated flow mode, it fails to enforce the SAML OneTimeUse condition, permitting a captured assertion to be submitted multiple times. No public exploit has been identified at time of analysis, and EPSS sits at 0.14% (4th percentile), though SSVC rates technical impact as total - reflecting the full account takeover consequence if the preconditions are met.

Earlier versions of this analysis (1)
v1 Aug 06, 2026 - 07:01 CVSS 6.4

SAML assertion replay in Keycloak's IdP-Initiated broker flow enables session hijacking by attackers who capture a valid, unused assertion. When Keycloak is deployed as a SAML broker in IdP-Initiated mode, it fails to validate the OneTimeUse condition mandated by the SAML specification, meaning a captured assertion remains replayable indefinitely beyond its intended single-use lifetime. An adjacent attacker who intercepts a legitimate user's SAML assertion can replay it to authenticate as that user and obtain full session access. No public exploit has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.

RemediationAI

Apply the patch released by Red Hat per the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-18967; a specific patched version number is not independently confirmed from the available data, so consult the advisory directly for the exact target release. As an immediate compensating control, organizations should evaluate whether IdP-Initiated SSO flow is operationally required - disabling it and enforcing SP-Initiated flow eliminates the vulnerable code path entirely, at the cost of requiring users to start authentication from the Keycloak login page rather than directly from the IdP portal. Where IdP-Initiated flow must remain enabled, enforce mutual TLS between the IdP and Keycloak to prevent passive interception of SAML assertions in transit, reducing the feasibility of assertion capture. Additionally, restrict network-level access to the Keycloak SAML endpoint to trusted IdP source IPs via firewall rules, limiting the adjacent-network attacker's ability to inject replayed assertions.

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

Keycloak (cpe:2.3:a:red_hat:red_hat_build_of_keycloak and red_hat:red_hat_single_sign-on_7) implements SAML 2.0 federation, allowing it to act as a Service Provider brokering trust from an external Identity Provider. The IdP-Initiated Single Sign-On flow has the IdP directly posting a SAML Response to the SP without a prior AuthnRequest. The SAML specification addresses replay risk via the OneTimeUse condition element within an assertion's Conditions block, which instructs the SP to track and reject any assertion presented more than once. CWE-294 (Authentication Bypass by Capture-replay) precisely describes the root cause: Keycloak omits the tracking and rejection step, so a structurally valid assertion is accepted on every subsequent replay as though it were a fresh authentication event.

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 MEDIUM
NVD 8.1 HIGH
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

AV:A because assertion capture requires network adjacency; PR:N and UI:N once the assertion is obtained; no availability impact from session hijacking.

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

Primary rating from Vendor (redhat).

CVSS VectorNVD

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

Lifecycle Timeline

3
Analysis Updated
Aug 10, 2026 - 19:30 vuln.today
v2 - CVSS changed
Severity Changed
Aug 10, 2026 - 19:22 NVD
MEDIUM HIGH
CVSS changed
Aug 10, 2026 - 19:22 NVD
6.4 (MEDIUM) 8.1 (HIGH)

DescriptionNVD

A flaw was found in the SAML broker component of Keycloak, an identity and access management solution. When configured as a SAML broker using the IdP-Initiated flow, Keycloak fails to enforce the OneTimeUse condition in SAML assertions. This allows an attacker who captures a valid, unused assertion to replay it multiple times. Successful exploitation could allow an attacker to hijack a user's session and gain unauthorized access to the system as that user.

Executive ViewAI

Why It Matters

Keycloak's SAML broker component fails to validate assertion replay protection, enabling attackers on adjacent networks to forge sessions and impersonate any user without valid authentication credentials. Organizations relying on Keycloak for federated identity access face immediate account takeover risk across all downstream applications, with no patch currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable IdP-Initiated SAML flow in favor of SP-Initiated flow where operationally feasible; implement network segmentation restricting Keycloak broker access to trusted networks only; enable detailed audit logging on SAML assertion submissions and configure alerting on assertion reuse patterns; assign ownership for weekly monitoring of vendor security channels.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
popular enterprise IAM/SSO platform, not universally deployed
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
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)NVD

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_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack:*:*:*:*:*:*:*:*
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