Skip to content
OpenAdvisories
High · 8.8 CVE-2026-1486 EUVD-2026-6445GHSA-37gf-gmxv-74wv

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

Published Feb 9, 2026 · Updated Jul 15, 2026 · Assigned by redhat

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 products

VendorProductAffectedFixed
Red Hat Red Hat build of Keycloak 26.4 — —
Red Hat Red Hat build of Keycloak 26.4.9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling keycloak-26.4-iamguarded-compat No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services >= 26.5.0, < 26.5.3 26.5.3 GHSA-37gf-gmxv-74wv
Maven org.keycloak:keycloak-services < 26.4.9 26.4.9 GHSA-37gf-gmxv-74wv

Advisories 1

References