Red Hat build of Keycloak 26.4
Org.keycloak.protocol.oidc.grants: disabled identity providers are still accepted for jwt authorization grant
A flaw was found in Keycloak. A vulnerability exists in the jwt-authorization-grant flow where the server fails to verify if an Identity Provider (IdP) is enabled before issuing tokens. The issuer lookup mechanism (lookupIdentityProviderFromIssuer) retrieves the IdP configuration but does not filter for isEnabled=false. If an administrator disables an IdP (e.g., due to a compromise or offboarding), an entity possessing that IdP's signing key can still generate valid JWT assertions that Keycloak accepts, resulting in the issuance of valid access tokens.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 26.4.9-1
Fixed in 26.4-11
Fixed in 26.4-10
Mitigation
Upgrade Red Hat build of Keycloak 26.4 to 26.4.9-1 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-11 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-10 or later.
Workaround
To mitigate this issue, administrators should immediately revoke or rotate the signing keys associated with any Identity Provider that has been disabled in Keycloak. This operational control is crucial to prevent unauthorized token issuance by ensuring that compromised or offboarded IdP keys cannot be used to generate valid JWT assertions.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:2365
- Vendor advisory access.redhat.com/errata/RHSA-2026:2366
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.