CVE-2026-3009: Org.keycloak/keycloak-services: improper enforcement of disabled identity provider in identitybrokerservice (authentication bypass)
A security flaw in the IdentityBrokerService.performLogin endpoint of Keycloak allows authentication to proceed using an Identity Provider (IdP) even after it has been disabled by an administrator. An attacker who knows the IdP alias can reuse a previously generated login request to bypass the administrative restriction. This undermines access control enforcement and may allow unauthorized authentication through a disabled external provider.
Other sources
Improper Authorization vulnerability in the IdentityBrokerService.performLogin endpoint of the Keycloak services component. The flaw occurs because the broker login endpoint does not re-validate the enabled/disabled status of the configured Identity Provider (IdP) at the time of login processing. If a valid authentication flow is initiated before the IdP is disabled, an attacker who knows the broker alias can manually invoke the broker login URL (/realms/{realm}/broker/{alias}/login) with valid session parameters. Despite the IdP being administratively disabled, the authentication flow proceeds and redirects the user to the external provider. This allows authentication via a disabled IdP, effectively bypassing administrative access control restrictions. The issue can be exploited remotely without privileges but requires user interaction and knowledge of the IdP alias.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.keycloak:keycloak-servicesto a version that resolves this vulnerability.Fixed in 26.5.5
Event History
Frequently Asked Questions
What is the severity of CVE-2026-3009?
CVE-2026-3009 has a high severity rating due to its potential for allowing unauthorized authentication.
How do I fix CVE-2026-3009?
To fix CVE-2026-3009, upgrade the Keycloak services to version 26.5.5 or higher.
What type of vulnerability is CVE-2026-3009?
CVE-2026-3009 is categorized as an authentication bypass vulnerability.
Which software is affected by CVE-2026-3009?
CVE-2026-3009 affects the Keycloak services package, specifically the org.keycloak:keycloak-services.
What is the impact of CVE-2026-3009?
The impact of CVE-2026-3009 allows attackers to authenticate via disabled identity providers, undermining security.