~ / search / GHSA-37gf-gmxv-74wv

GHSA-37gf-gmxv-74wv

Keycloak fails to verify if an Identity Provider (IdP) is enabled before issuing tokens

Source: GitHub Advisory Database (reviewed) High CVE-2026-1486

Packages

EcosystemPackageAffectedFixed in
Maven org.keycloak:keycloak-services >= 26.5.0, < 26.5.3 26.5.3
Maven org.keycloak:keycloak-services < 26.4.9 26.4.9

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.