CVE-2026-16103

Keycloak-services: keycloak-services: incomplete fix for ciba brute-force lockout bypass at token redemption

Published Jul 17, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in the keycloak-services component of Keycloak. This issue is an incomplete fix for CVE-2026-9798, where brute-force protection checks were added to the Client-Initiated Backchannel Authentication (CIBA) initiation handler but were omitted from the token redemption handler. This allows an attacker with valid client credentials to obtain access and refresh tokens for a user account that has been locked due to brute-force protection, provided the authentication request was started before the lockout occurred and was approved by the user.

Analysis

AI-generated

Technical impact

The vulnerability is an access control flaw (CWE‑841) and also represents a missing validation of the lockout status (CWE‑305), where the token redemption handler in Keycloak Services skips the brute‑force lockout checks that are applied during the CIBA initiation step. Because of this omission, an attacker who already possesses valid client credentials can launch a CIBA authentication request before a user’s account is locked, have the user approve the request, and then redeem tokens after the lockout has been triggered. The attacker thereby obtains unauthorised access and refresh tokens for the locked account, effectively bypassing the intended lockout mechanism.

Affected Systems

Affected vendors and products include Red Hat Build of Keycloak, Red Hat Data Grid 8, Red Hat JBoss Enterprise Application Platform Expansion Pack, and Red Hat Single Sign‑On 7. No specific vulnerability‑affected release is listed, so all supported versions of these products should be considered potentially vulnerable until a patch is applied.

Risk and Exploitability

With a CVSS score of 4.3 the flaw is classified as moderate severity, and an EPSS score of < 1 % indicates a low likelihood of exploitation at present. The vulnerability is not in the CISA KEV catalog. Exploitation requires the attacker to have legitimate client credentials, initiate a CIBA flow before the account lockout, and obtain the user’s approval. While the attack conditions are non‑trivial, successful exploitation allows full impersonation of the locked user and access to all resources the user could normally obtain.

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

  • Determine if your deployment is affected by reviewing Red Hat's advisory and the version details of Keycloak Services; if the vulnerability applies, proceed with the following mitigations.
  • If CIBA authentication is not required, disable it or restrict it to a minimal set of trusted clients to reduce the attack surface.
  • Implement monitoring to detect token issuance after an account lockout period, and enforce lockout policies to detect and log such events.

Generated by OpenCVE AI on August 31, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
Weaknesses CWE-305
Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Vendors & Products Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Type Values Removed Values Added
Weaknesses CWE-841
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in the keycloak-services component of Keycloak. This issue is an incomplete fix for CVE-2026-9798, where brute-force protection checks were added to the Client-Initiated Backchannel Authentication (CIBA) initiation handler but were omitted from the token redemption handler. This allows an attacker with valid client credentials to obtain access and refresh tokens for a user account that has been locked due to brute-force protection, provided the authentication request was started before the lockout occurred and was approved by the user.
Title Keycloak-services: keycloak-services: incomplete fix for ciba brute-force lockout bypass at token redemption
First Time appeared Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:jboss_data_grid:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-305

    Authentication Bypass by Primary Weakness

  • CWE-841

    Improper Enforcement of Behavioral Workflow

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 5:34 PM
Reserved
Jul 17, 2026, 2:46 PM
Status
Modified
Published
Jul 17, 2026, 5:17 PM
Modified
Nov 6, 2026, 6:18 PM
Severity
Moderate
Public date
Jul 16, 2026, 4:53 PM