Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid OAuth client credentials for a CIBA-enabled client
-
DeliveryTrigger brute-force lockout on target user account via failed login attempts
-
ExploitSubmit CIBA authentication request targeting the locked user account
-
ExecutionKeycloak CIBA handler bypasses lockout state check
-
ImpactTokens issued for locked account enabling continued unauthorized access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Primary weakness mitigation
|
| Exploitation Conditions | The CIBA grant type must be enabled on the target Keycloak realm and on at least one OAuth client registration - this is a non-default feature that must be explicitly configured, which meaningfully limits exposure. The attacker must possess valid OAuth client credentials (client_id and client_secret) for a registered client permitted to use the CIBA flow; these are application-level credentials, not user credentials. The target user account must be in a temporarily locked state (i.e., brute-force protection must have been triggered by prior failed login attempts). The CVSS UI:R component indicates user interaction is formally required in the CIBA flow (typically, the user approving a request on their authentication device), but the vulnerability description implies token issuance proceeds regardless of account lock status - the practical impact of the UI:R condition on exploitability should be verified with Red Hat. Exploitation is limited to Keycloak deployments with CIBA explicitly enabled; installations using only Authorization Code or Client Credentials flows are not affected by this specific bypass. |
| Impact | The CVSS 4.3 Medium score (AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N) reflects a limited confidentiality impact and requires user interaction (UI:R), which constrains opportunistic mass exploitation. However, several signals warrant a higher operational priority for organizations using Keycloak as a primary identity provider. The PR:N designation requires careful interpretation: the CVSS vector indicates no user-level privileges are needed, but the description explicitly states the attacker requires 'valid client credentials' - these are OAuth client credentials (client_id/client_secret), not user-account credentials, and may be obtainable by any registered or compromised OAuth application. The UI:R component aligns with CIBA's design requiring user-side device interaction, but the vulnerability description implies tokens are issued regardless, making the UI:R condition potentially misleading for risk modeling - this discrepancy should be verified with the vendor. EPSS data was not provided, preventing probabilistic exploitation forecasting. The vulnerability is not in CISA KEV and no POC has been identified. Despite a moderate CVSS score, any bypass of account lockout in an IAM system carries amplified risk: it nullifies a key defense against credential-stuffing and persistent low-rate brute-force attacks targeting Keycloak-protected applications. |
| Exploit ScenarioDerived | An attacker conducting a low-and-slow credential-stuffing campaign against a Keycloak-protected application triggers the brute-force lockout on a target user account after several failed login attempts. Rather than abandoning the attempt, the attacker - operating a registered OAuth client or having obtained client credentials from a compromised application - switches to the CIBA authentication endpoint, submitting CIBA authentication requests for the locked account. Keycloak processes these requests and issues tokens without checking the account's lockout state, effectively defeating the protection mechanism and allowing the attacker to continue testing credentials or obtain a valid session token. No public exploit has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 28, 2026
Keycloak's Client-Initiated Backchannel Authentication (CIBA) flow fails to enforce brute-force account lockouts, allowing an attacker with valid OAuth client credentials to continue initiating authentication requests and obtain tokens for a user account that should be temporarily locked. This undermines the core account-protection mechanism designed to throttle credential-stuffing and password-guessing campaigns. No public exploit has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog, though its CVSS score of 4.3 understates the strategic value of bypassing a lockout policy in an identity provider.
RemediationAI
The primary remediation is to apply the vendor-released patch identified in the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-9798; however, an exact fixed version number was not present in the available intelligence and should be confirmed directly from that advisory before upgrading. As a compensating control pending patching, administrators should consider disabling the CIBA grant type on realms where it is not operationally required - this removes the vulnerable code path entirely but will break any applications relying on the backchannel authentication flow. Alternatively, restricting which OAuth clients are permitted to use the CIBA flow via Keycloak client-level grant type configuration reduces the attack surface to trusted, internally controlled applications. Organizations should also increase brute-force lockout thresholds and duration so that even if bypass is possible, the window of exploitability yields fewer successful credential guesses per attempt. Note that disabling CIBA entirely is a breaking change for CIBA-dependent integrations and should be tested in non-production environments first.
Affected Packages
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
Keycloak is a widely deployed open-source Identity and Access Management (IAM) solution supporting OAuth 2.0, OpenID Connect, and SAML. The Client-Initiated Backchannel Authentication (CIBA) flow (RFC 9156) is a decoupled authentication mechanism where an OAuth client initiates authentication on behalf of a user, and the user approves the request on a separate authentication device. Unlike the standard Authorization Code flow, CIBA does not redirect the user's browser, making it a distinct code path in Keycloak's authentication stack. The root cause is CWE-305 (Authentication Bypass by Primary Weakness): the CIBA request handler does not consult or respect the brute-force protection state of the targeted user account before initiating authentication processing and issuing tokens. The affected component is the CIBA flow implementation within Keycloak's authentication broker, tracked under Red Hat Bugzilla ID 2482470.
Know when 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:R/S:U/C:L/I:N/A:N
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in Keycloak, an open-source identity and access management solution. When a user account is temporarily locked due to repeated failed login attempts, an attacker with valid client credentials can exploit the Client-Initiated Backchannel Authentication (CIBA) flow to bypass this brute-force protection. This allows continued authentication attempts and token issuance even when the account should be locked, potentially enabling further unauthorized access attempts.
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.
Affected Products (CPE)CVE.org
More in Build Of Keycloak
View allA heap-based buffer overflow in the HotSpot x86_64 Base64 decode intrinsic affects Oracle Java SE (8u511b33-perf, 17.0.2
A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS
A misconfiguration flaw was found in Keycloak. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploita
Keycloak's SAML identity provider broker fails to enforce client disabled status during IdP-initiated SSO flows, allowin
Privilege escalation in Red Hat Build of Keycloak allows low-privileged authenticated users to assume the permissions of
HTTP parameter pollution in Keycloak enables authentication bypass against deployments where OAuth/OIDC client applicati
Keycloak's IdentityBrokerService.performLogin endpoint fails to enforce disabled Identity Provider restrictions, allowin
A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across
A session fixation issue was discovered in the SAML adapters provided by Keycloak. Rated high severity (CVSS 7.1), this
A vulnerability was found in Wildfly, where a user may perform Cross-site scripting in the Wildfly deployment system. Ra
Refresh token replay in Keycloak allows a remote attacker who has previously captured a user's refresh token to reuse th
A vulnerability was found in Keycloak. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no
EUVD-2026-32717
GHSA-q6h7-xxp7-7429
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB