CVE-2026-3009
Java vulnerability analysis and mitigation

Overview

CVE-2026-3009 is an improper authorization vulnerability in the IdentityBrokerService.performLogin endpoint of Keycloak (the org.keycloak/keycloak-services component) that allows authentication to proceed through a disabled Identity Provider (IdP). Disclosed on March 5, 2026, the flaw affects Red Hat build of Keycloak 26.4 and 26.4.10, Red Hat Single Sign-On 7.0, JBoss Enterprise Application Platform 8.0, and the JBoss EAP Expansion Pack. It carries a CVSS v3.1 base score of 8.1 (High) (Red Hat CVE, Red Hat Bugzilla).

Technical details

The root cause is improper authorization (CWE-285 / CWE-863): the broker login endpoint (/realms/{realm}/broker/{alias}/login) does not re-validate the enabled/disabled status of the configured IdP at the time of login processing. If a valid authentication flow was initiated before the IdP was administratively disabled, an attacker who knows the IdP alias can manually invoke the broker login URL with valid session parameters, causing the authentication flow to proceed and redirect the user to the external provider despite the IdP being disabled. Exploitation requires no privileges but does require user interaction and knowledge of the IdP alias, making it a network-accessible, low-complexity attack (Red Hat Bugzilla, Red Hat CVE).

Impact

Successful exploitation allows an attacker to bypass administrative access controls and authenticate through a disabled external Identity Provider, undermining the integrity of the access control enforcement model. This results in high confidentiality and integrity impact — unauthorized users may gain access to protected resources and data that administrators intended to restrict by disabling the IdP. Availability is not directly impacted (Red Hat CVE, Red Hat Bugzilla).

Exploitation steps

  1. Reconnaissance: Identify a Keycloak instance running an affected version (Red Hat build of Keycloak 26.4.x, JBOSS EAP 8.0, or Red Hat SSO 7.0) and enumerate configured Identity Provider aliases, which may be discoverable via the Keycloak admin console, public realm endpoints, or social engineering.
  2. Initiate a legitimate login flow: Before or after the IdP is disabled, initiate a valid authentication flow through the target IdP to obtain a valid session token and flow parameters.
  3. Invoke the broker login endpoint: Manually craft and send a request to /realms/{realm}/broker/{alias}/login using the known IdP alias and the previously captured valid session parameters, even after the IdP has been administratively disabled.
  4. Bypass access control: Because the endpoint does not re-validate the IdP's enabled/disabled status, the authentication flow proceeds and redirects to the external provider, completing authentication as if the IdP were still active.
  5. Gain unauthorized access: The attacker authenticates via the disabled IdP and obtains a valid Keycloak session, potentially accessing protected applications and resources (Red Hat Bugzilla, Red Hat CVE).

Indicators of compromise

  • Logs: Keycloak server logs showing successful authentication events via an IdP alias that has been administratively disabled; look for IdentityBrokerService log entries referencing a disabled provider alias after the disable action was recorded.
  • Logs: Admin audit logs showing an IdP being disabled, followed shortly by authentication events referencing that same IdP alias.
  • Network: HTTP requests to /realms/{realm}/broker/{alias}/login with valid session parameters originating from unexpected or external IP addresses after the IdP was disabled.
  • Application: Unexpected active user sessions in the Keycloak admin console associated with accounts that should no longer be able to authenticate via the disabled IdP.

Mitigation and workarounds

Red Hat has released patches addressing this vulnerability in security advisories RHSA-2026:3947 (standalone packages) and RHSA-2026:3948 (OpenShift container images), both targeting Red Hat build of Keycloak 26.4.10 (RHSA-2026:3947, RHSA-2026:3948). Organizations should upgrade to the patched version (26.4-12 or 26.4.10-1 per ENISA product versioning) immediately. As a temporary workaround, administrators should review all configured Identity Providers and remove or fully delete (rather than just disable) any external providers that should not be used, and monitor authentication logs for unexpected IdP usage.

Community reactions

The vulnerability was noted in the Java community news roundup for early March 2026, indicating awareness among Java/middleware developers (InfoQ). A Bluesky post from a cybersecurity blog also highlighted the CVE shortly after disclosure. Overall community reaction has been measured, consistent with a High-severity but non-critical (no RCE, no public PoC) authentication bypass in an enterprise identity product.

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-p279-2cqp-84jgCRITICAL9.6
  • Java logoJava
  • org.openidentityplatform.opendj:opendj-server-legacy
NoYesJul 24, 2026
GHSA-fp43-vj7g-pg92HIGH7.5
  • Java logoJava
  • org.omnifaces:omnifaces
NoYesJul 24, 2026
GHSA-7ppr-r889-mcf2HIGH7.5
  • Java logoJava
  • org.http4s:http4s-blaze-server_2.12
NoYesJul 24, 2026
GHSA-mhvj-jhpq-885vHIGH7.4
  • Java logoJava
  • org.http4s:http4s-blaze-server_2.13
NoYesJul 24, 2026
GHSA-46q4-43ph-c6frHIGH7.4
  • Java logoJava
  • org.http4s:blaze-http_2.12
NoYesJul 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management