Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate Keycloak SAML broker endpoint
-
DeliveryObtain victim external identifier
-
ExploitCraft forged unsigned SAML response
-
ExecutionSubmit to broker with disabled validation
-
ImpactAuthenticate as victim account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
|
| Exploitation Conditions | Requires the Keycloak realm to be configured with an external SAML identity provider whose metadata was imported WITHOUT explicit key-usage (use="signing") attributes on its <KeyDescriptor>, which is the specific misconfiguration that causes signature validation to be disabled. The attacker must also know the victim's external identifier at that IdP to target a specific account. Limiting factors: this is NOT default behavior for correctly-formed IdP metadata (which includes usage attributes), the deployment must actively use SAML identity brokering, and no authentication or user interaction is otherwise needed (PR:N/UI:N). Environments without SAML brokering, or whose imported metadata carries proper signing-key usage attributes, are not exploitable. |
| Impact | The signals conflict and must be weighed. The CVSS vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H) and SSVC 'Technical Impact: total' both describe a severe, remotely reachable authentication bypass - a genuine crown-jewel risk because Keycloak brokers identity for downstream applications. However, SSVC lists Exploitation: none and Automatable: no, and EPSS is only 0.14% (4th percentile), meaning no observed exploitation and low near-term probability. This is not a KEV entry and no POC is referenced. The likely reason for the low real-world probability is the non-default precondition: exploitation requires a SAML IdP whose metadata was imported without key-usage attributes AND attacker knowledge of the victim's external identifier - so this is a high-impact-but-conditional issue rather than a wormable internet-wide threat. Treat as high priority for any environment using SAML identity brokering; deprioritize where SAML brokering is not configured. |
| Exploit ScenarioDerived | An attacker learns the external identifier (e.g., the NameID/username a victim uses at the federated SAML IdP) of a target user in a Keycloak realm whose external IdP metadata was imported without key-usage attributes. Because signature validation is silently disabled, the attacker crafts a forged, unsigned SAML response asserting that identity and submits it to Keycloak's broker endpoint, and is logged in as the victim with no credentials or MFA. No POC is publicly referenced, but the network-reachable, low-complexity vector (AV:N/AC:L) makes hand-crafted exploitation straightforward for a knowledgeable attacker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 10, 2026
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge SAML responses to hijack accounts when a SAML identity-provider's metadata was imported without explicit key-usage attributes, causing the keycloak-services identity-brokering engine to silently disable signature validation despite a signing certificate being present. Rated CVSS 9.1 with total technical impact per CISA SSVC, an attacker who knows a victim's external identifier can log in as that user. No public exploit identified at time of analysis, and EPSS is low (0.14%, 4th percentile), indicating the risk is currently theoretical/targeted rather than mass-exploited.
Earlier versions of this analysis (1)
SAML signature validation is silently disabled in Red Hat Build of Keycloak's keycloak-services identity brokering engine when importing identity provider metadata that omits explicit key usage attributes on KeyDescriptor elements - even when a valid signing certificate is present in that metadata. An unauthenticated attacker who knows a target user's external SAML identifier (NameID) can exploit this to submit a forged SAML assertion that Keycloak accepts without cryptographic verification, resulting in full unauthorized account access. No public exploit has been identified at time of analysis, and the vulnerability is not listed in CISA KEV, but the authentication bypass impact (C:H/I:H) makes this a priority for organizations running SAML-federated identity brokering.
RemediationAI
Vendor-released patch: upgrade Red Hat Build of Keycloak to 26.6.5-1 (or 26.6-11) or 26.4.14-1 (or 26.4-22) per RHSA-2026:50846, RHSA-2026:50847, RHSA-2026:50848, and RHSA-2026:50849 (https://access.redhat.com/errata/RHSA-2026:50846); apply the corresponding Red Hat Single Sign-On 7, JBoss EAP Expansion Pack, and Data Grid 8 errata. As a compensating control until patched, re-import each external SAML identity provider's metadata ensuring the <KeyDescriptor> includes an explicit use="signing" attribute, or manually configure the signing certificate and enable 'Validate Signature' / 'Want Assertions Signed' on the IdP definition so signature enforcement cannot be silently disabled - the trade-off is manual per-IdP review and potential brokering downtime if a certificate is misconfigured. Where feasible, temporarily disable affected SAML brokering connections, accepting loss of that federated login path, until validation is confirmed enforced.
Affected VersionsENISA
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 flaw lives in Keycloak's SAML 2.0 identity-brokering layer (keycloak-services), which lets Keycloak act as a Service Provider trusting an external SAML Identity Provider. In SAML, an IdP's metadata <KeyDescriptor> elements carry an optional use attribute (use="signing" or use="encryption"). When metadata is imported without these usage attributes, Keycloak fails to register the certificate as a signing key and incorrectly treats the response's signature as optional, so it accepts forged assertions. This maps to CWE-347 (Improper Verification of Cryptographic Signature): the trust anchor exists but the code path that binds it to signature enforcement is not exercised. CPE data confirms the affected code ships in Red Hat Build of Keycloak, Red Hat Single Sign-On 7, the JBoss EAP Expansion Pack, and is bundled with Red Hat Data Grid 8.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Remote unauthenticated SAML forgery (AV:N/PR:N/UI:N); low complexity given disabled validation, though it needs a specific misconfigured IdP; full account takeover impacts C and I, not availability.
Primary rating from Vendor (redhat).
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
A flaw was found in the SAML metadata import functionality of the keycloak-services component, which is the core engine for identity brokering in Red Hat Build of Keycloak. When importing identity provider metadata that lacks specific usage attributes for keys, the system incorrectly disables signature validation for SAML responses even if a signing certificate is provided. This issue allows an unauthenticated attacker to forge a SAML response and gain unauthorized access to a user account by knowing their external identifier.
Executive ViewAI
Red Hat's Keycloak and Single Sign-On 7 contain a critical authentication flaw allowing unauthenticated attackers to forge SAML responses and hijack user accounts when identity-provider metadata lacks explicit key-usage attributes. Organizations using these products for federated authentication face direct risk of account compromise and unauthorized system access. This vulnerability undermines the security foundation these authentication systems are designed to provide.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re
EUVD-2026-53343
GHSA-v5j7-jp89-37vr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB