Description
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.
Problem types
Improperly Implemented Security Check for Standard
Product status
26.4.9-1 (rpm) before *
26.4-11 (rpm) before *
26.4-10 (rpm) before *
Timeline
| 2026-01-27: | Reported to Red Hat. |
| 2026-02-09: | Made public. |
Credits
Red Hat would like to thank Joy Gilbert Dan and Reynaldo Immanuel for reporting this issue.
References
access.redhat.com/errata/RHSA-2026:2365 (RHSA-2026:2365)
access.redhat.com/errata/RHSA-2026:2366 (RHSA-2026:2366)
access.redhat.com/security/cve/CVE-2026-1486
bugzilla.redhat.com/show_bug.cgi?id=2433347 (RHBZ#2433347)