Description
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.
Published: 2026-08-06
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability arises from a missing enforcement of the OneTimeUse condition in SAML assertions during IdP‑initiated broker flows within Keycloak. Because an attacker can capture a still‑unused assertion, the flaw allows replaying that assertion multiple times, effectively hijacking a legitimate user’s session and gaining unauthorized access.

Affected Systems

Affected products include Red Hat Build of Keycloak, Red Hat JBoss Enterprise Application Platform Expansion Pack, and Red Hat Single Sign‑On 7. No specific affected versions are listed in the CNA data.

Risk and Exploitability

The CVSS score of 6.4 signals moderate severity. No EPSS score is available, so the exploitation probability is unknown; the issue is not reported in CISA’s KEV catalog. Inferred from the description, the attack vector is likely remote via intercepted SAML assertions, requiring an attacker to obtain a valid yet unused assertion before replaying it. Successful exploitation would grant an attacker the privileges of the impersonated user.

Generated by OpenCVE AI on August 6, 2026 at 07:29 UTC.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Upgrade to the latest Red Hat Build of Keycloak or apply a vendor patch that enforces the OneTimeUse condition in SAML assertions.
  • If an upgrade is not possible, disable IdP‑initiated broker flows or reconfigure the broker to reject any assertion that does not explicitly contain the OneTimeUse condition.
  • Implement monitoring or logging to detect repeated use of the same SAML assertion, and investigate any such events promptly.

Generated by OpenCVE AI on August 6, 2026 at 07:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 06:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Keycloak-services: keycloak-services: saml onetimeuse assertion replay in idp-initiated broker flow
First Time appeared Redhat
Redhat build Keycloak
Redhat jbosseapxp
Redhat red Hat Single Sign On
Weaknesses CWE-294
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'}


Subscriptions

Redhat Build Keycloak Jbosseapxp Red Hat Single Sign On
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-06T05:33:17.868Z

Reserved: 2026-08-05T15:22:29.997Z

Link: CVE-2026-18967

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T07:30:16Z

Weaknesses
  • CWE-294

    Authentication Bypass by Capture-replay