CVE-2026-16442: Keycloak-services: keycloak-services: saml idp-initiated broker login bypasses link-only restriction

Published Jul 21, 2026
·
Updated

A flaw was found in the SAML broker component of Keycloak, which is used to manage identity federation and user authentication. The issue occurs because the IdP-initiated Single Sign-On endpoint fails to check if a provider is restricted to account linking only. This allows an attacker with control over a linked upstream identity to bypass login restrictions and gain full access to a local user account.

Other sources

A vulnerability was found in the keycloak-services component where the SAML IdP-initiated broker login endpoint fails to enforce the link-only identity provider restriction. When a SAML identity provider is configured with linkOnly=true, it is intended to only allow users to link their accounts, not to use that provider for logging in. However, the endpoint at /realms/{realm}/broker/{alias}/endpoint/clients/{clientid} does not validate this setting. An attacker who controls an upstream SAML identity already linked to a Keycloak user can submit a valid signed SAML response directly to this endpoint. This allows the attacker to bypass the restriction and obtain a full authenticated session as the linked local user.

Red Hat

Affected Software

3 affected components
Keycloak keycloak-services
redhat Build Of Keycloak>=26.4<26.4.14
redhat Build Of Keycloak>=26.6<26.6.5

Event History

Jul 21, 2026
Data Sourced
via Red Hat·07:38 AM
DescriptionSeverityAffected Software
Aug 5, 2026
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-16442?

CVE-2026-16442 has a severity rating of high, with a score of 7.4.

2

How do I fix CVE-2026-16442?

To mitigate CVE-2026-16442, ensure that the SAML IDP-initiated Single Sign-On endpoint is properly configured to enforce link-only restrictions.

3

What systems are affected by CVE-2026-16442?

CVE-2026-16442 affects the Keycloak services that handle identity federation and user authentication.

4

What type of vulnerability is CVE-2026-16442?

CVE-2026-16442 is a security vulnerability related to single sign-on mechanisms that bypass account linking restrictions.

5

What impact does CVE-2026-16442 have on security?

CVE-2026-16442 allows attackers to bypass link-only restrictions, potentially compromising user accounts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203