Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Red Hat / Red Hat build of Keycloak 26.4 | unaffected 26.4.9-1 before * |
| Red Hat / Red Hat build of Keycloak 26.4 | unaffected 26.4-11 before * |
| Red Hat / Red Hat build of Keycloak 26.4 | unaffected 26.4-10 before * |
| Red Hat / Red Hat build of Keycloak 26.4.9 | unaffected |
CWE
CWE-358
References
- https://access.redhat.com/errata/RHSA-2026:2365
- https://access.redhat.com/errata/RHSA-2026:2366
- https://access.redhat.com/security/cve/CVE-2026-1486
- https://bugzilla.redhat.com/show_bug.cgi?id=2433347
ADP enrichment
No English description supplied.
No references supplied.
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.