CVE-2026-1486
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4.9-1 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-11 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.4 | 26.4-10 < * | unaffected |
Weaknesses
- CWE-358: Improperly Implemented Security Check for Standard
Workarounds
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.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
org.keycloak.protocol.oidc.grants: Disabled identity providers are still accepted for JWT Authorization Grant
Additional References
- https://access.redhat.com/security/cve/CVE-2026-1486
- https://bugzilla.redhat.com/show_bug.cgi?id=2433347
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1486.json
- https://access.redhat.com/errata/RHSA-2026:2366
- https://access.redhat.com/errata/RHSA-2026:2365
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.