CVE-2026-9798
Keycloak: keycloak: brute-force protection bypass in ciba flow
Also known as GHSA-q6h7-xxp7-7429
Mitigation
- Vendor workaround: To mitigate this issue, ensure that Client-Initiated Backchannel Authentication (CIBA) is not enabled in Keycloak realms unless explicitly required. If CIBA is enabled, consider disabling it to prevent the bypass of brute-force protection mechanisms. Consult Keycloak documentation for instructions on managing CIBA configuration.
Who should check
- Projects that depend on Maven package org.keycloak:keycloak-services (<= 26.4.7)
- Anyone running Red Hat build of Keycloak 26.4 all versions
- Anyone running Red Hat build of Keycloak 26.4.14 (versions: see the vendor advisory)
- Anyone running Red Hat build of Keycloak 26.6 all versions
- Anyone running Red Hat build of Keycloak 26.6.5 (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.keycloak:keycloak-services <= 26.4.7
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 4.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.49% chance of exploitation in 30 days (percentile 35, 2026-11-26)
- CWE
- CWE-305
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.keycloak:keycloak-services | <= 26.4.7 | — | osv |
| Red Hat build of Keycloak 26.4 | all versions | — | cvelist |
| Red Hat build of Keycloak 26.4 | all versions | — | cvelist |
| Red Hat build of Keycloak 26.4 | all versions | — | cvelist |
| Red Hat build of Keycloak 26.4.14 | — | — | cvelist |
| Red Hat build of Keycloak 26.6 | all versions | — | cvelist |
| Red Hat build of Keycloak 26.6 | all versions | — | cvelist |
| Red Hat build of Keycloak 26.6 | all versions | — | cvelist |
| Red Hat build of Keycloak 26.6.5 | — | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-9798. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-9798.md Affected: org.keycloak:keycloak-services <= 26.4.7 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for org.keycloak:keycloak-services (Maven), Red Hat build of Keycloak 26.4, Red Hat build of Keycloak 26.4.14, Red Hat build of Keycloak 26.6, Red Hat build of Keycloak 26.6.5: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://access.redhat.com/errata/RHSA-2026:50846
- https://access.redhat.com/errata/RHSA-2026:50847
- https://access.redhat.com/errata/RHSA-2026:50848
- https://access.redhat.com/errata/RHSA-2026:50849
- https://access.redhat.com/security/cve/CVE-2026-9798
- https://bugzilla.redhat.com/show_bug.cgi?id=2482470
- https://nvd.nist.gov/vuln/detail/CVE-2026-9798
Patches
- https://github.com/keycloak/keycloak/pull/49791
- https://github.com/keycloak/keycloak/pull/49903
- https://github.com/keycloak/keycloak/pull/49905
- https://github.com/keycloak/keycloak/commit/11c2695064cd93da1d333df3f69d4a4141e86c29
- https://github.com/keycloak/keycloak/commit/2edc6b112e2dedce63062b89ab3c7ae542e0d9ac
- https://github.com/keycloak/keycloak/commit/a11e3254efc16ae72ce5092b93b9f557a4ba43ae
FAQ
Is CVE-2026-9798 being exploited?
There is no confirmed exploitation: CVE-2026-9798 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-9798?
Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-9798?
org.keycloak:keycloak-services <= 26.4.7.
Is there a fix for CVE-2026-9798?
No fixed version is listed in the sources yet. Vendor workaround: To mitigate this issue, ensure that Client-Initiated Backchannel Authentication (CIBA) is not enabled in Keycloak realms unless explicitly required. If CIBA is enabled, consider disabling it to prevent the bypass of brute-force protection mechanisms. Consult Keycloak documentation for instructions on managing CIBA configuration.
How do I check if I'm affected by CVE-2026-9798?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.