Org.keycloak.protocol.oidc.grants: disabled identity providers are still accepted for jwt authorization grant (Red Hat Red Hat build of Keycloak 26.4)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.50 % · percentile 43 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-358 — Improperly Implemented Security Check for Standard
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
Advisories
- GHSA-37gf-gmxv-74wv — Keycloak fails to verify if an Identity Provider (IdP) is enabled before issuing tokens
European references
- ENISA EUVD · EUVD-2026-6445
- GCVE · GCVE-0-2026-1486
CERT-FR advisories
- CERTFR-2026-AVI-0159 — Multiples vulnérabilités dans Keycloak · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4.9-1 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-11 < * |
| Red Hat · Red Hat build of Keycloak 26.4 | unaffected 26.4-10 < * |
| Red Hat · Red Hat build of Keycloak 26.4.9 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |