Bug 2589431 (CVE-2026-143804)

Summary: CVE-2026-143804 keycloak-services: keycloak-services: JWT Authorization Grant issues tokens to brute-force locked accounts
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aschwart, aszczucz, boliveir, drichtar, mposolda, pjindal, rmartinc, ssilvert, sthorger, vmuzikar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the JWT Authorization Grant implementation of Keycloak, an identity and access management solution. The issue occurs because the token endpoint fails to check if a user account is currently locked due to brute-force protection when processing JWT-based authentication. This allows an attacker who already has a valid credential from a trusted external source to obtain security tokens for a locked account, bypassing the security policy intended to block access during a lockout.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-03 06:07:01 UTC
A flaw was found in Keycloaks JWT Authorization Grant (grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer) implementation. The token redemption path on the token endpoint fails to consult the BruteForceProtector to check for temporary account lockouts. When resolving a local user from a signed assertion, the code only verifies that the user exists, is enabled, and has no pending required actions. Since a temporary brute-force lockout does not set the enabled flag to false, a locked user successfully passes these checks.
Exploitation requires that the realm has brute-force detection enabled, a JWT Authorization Grant identity provider is configured, and the attacker can present a valid assertion signed by the trusted issuer for the locked user. Successful exploitation allows an attacker to obtain valid access tokens for a user account that is currently in a brute-force-locked state, effectively bypassing the lockout policy.