CVE-2026-1486
JSON

8.8high

Org.keycloak.protocol.oidc.grants: disabled identity providers are still accepted for jwt authorization grant

Severity
8.8high CVSS:3.1 by redhat
Exploit likelihood
0.49% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-37gf-gmxv-74wv

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.

Affected

Product or packageVersionsReported by
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.4.9-1 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.4-11 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 26.4-10 before *
CVE List
org.keycloak:keycloak-services (Maven)from 26.5.0 before 26.5.3, before 26.4.9GitHub Advisory Database

All scores

redhat8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
redhat-SADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-358

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró un fallo en Keycloak. Existe una vulnerabilidad en el flujo jwt-authorization-grant donde el servidor no verifica si un Proveedor de Identidad (IdP) está habilitado antes de emitir tokens. El mecanismo de búsqueda del emisor (lookupIdentityProviderFromIssuer) recupera la configuración del IdP pero no filtra por isEnabled=false. Si un administrador deshabilita un IdP (por ejemplo, debido a un compromiso o una baja), una entidad que posea la clave de firma de ese IdP aún puede generar aserciones JWT válidas que Keycloak acepta, lo que resulta en la emisión de tokens de acceso válidos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-1486 changed 2026-07-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-37gf-gmxv-74wv changed 2026-02-13CC-BY-4.0
NVDCVE-2026-1486 changed 2026-07-15Public domain