CVE-2026-3009

Org.keycloak/keycloak-services: improper enforcement of disabled identity provider in identitybrokerservice (authentication bypass)

Published Mar 5, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A flaw in Keycloak's IdentityBrokerService.performLogin endpoint permits authentication through an Identity Provider that an administrator has disabled. The vulnerability allows an attacker who knows the IdP alias to reuse an earlier login request, thereby circumventing administrative restrictions and enabling unauthorized access. This weakness falls under Improper Authorization (CWE-285) and Failure to Provide Proper Authentication (CWE-863), and can compromise the confidentiality and integrity of protected resources for any user who can invoke the disabled IdP.

Affected Systems

The affected products include Red Hat build of Keycloak version 26.4, including the specific 26.4.10 update, Red Hat Single Sign‑On 7, Red Hat JBoss Enterprise Application Platform 8, and its Expansion Pack. These are used in enterprise deployments running the Red Hat Enterprise Linux 9 platform.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity, while the EPSS score of < 1 % reflects a low likelihood of widespread exploitation at present. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Attackers would need to obtain the IdP alias and craft a login request; no privileged network access is required, suggesting that exploitation could occur in an adversary’s possession of an authenticated user session or a malicious client. The attack path is therefore relatively straightforward once the flaw is recognized.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.


OpenCVE Recommended Actions

  • Apply the Red Hat Security Advisory RHSA-2026:3947 or RHSA-2026:3948 updates that patch Keycloak 26.4 and 26.4.10 to the latest fixed release.
  • After updating, confirm that all disabled Identity Providers are truly inaccessible in the Keycloak administrative console and verify that no authentication tokens can be issued for them.
  • Remove or lock any unused external Identity Providers from the system to limit the attack surface.
  • Enable detailed authentication logging and monitor for attempts to use disabled IdP aliases.

Generated by OpenCVE AI on April 16, 2026 at 12:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-m297-3jv9-m927 Keycloak allows authentication using an Identity Provider (IdP) even after it has been disabled by an administrator
History
Type Values Removed Values Added
Weaknesses CWE-863
CPEs cpe:2.3:a:redhat:build_of_keycloak:-:*:*:*:text-only:*:*:*
cpe:2.3:a:redhat:build_of_keycloak:26.4.10:*:*:*:*:*:*:*
cpe:2.3:a:redhat:build_of_keycloak:26.4:*:*:*:*:*:*:*
cpe:2.3:a:redhat:jboss_enterprise_application_platform:8.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:jboss_enterprise_application_platform_expansion_pack:-:*:*:*:*:*:*:*
cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign-on
Vendors & Products Redhat build Of Keycloak
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign-on
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.4::el9
References
Type Values Removed Values Added
Description 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.
Title Org.keycloak/keycloak-services: improper enforcement of disabled identity provider in identitybrokerservice (authentication bypass)
First Time appeared Redhat
Redhat build Keycloak
Redhat jboss Enterprise Application Platform
Redhat jbosseapxp
Redhat red Hat Single Sign On
Weaknesses CWE-285
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:jboss_enterprise_application_platform:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat jboss Enterprise Application Platform
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Sep 14, 2026, 12:04 PM
Reserved
Feb 23, 2026, 5:16 AM
Status
Modified
Published
Mar 5, 2026, 7:16 PM
Modified
Sep 14, 2026, 1:18 PM
Severity
Important
Public date
Mar 5, 2026, 11:23 AM