Bug 2503138 (CVE-2026-16442) - CVE-2026-16442 keycloak-services: keycloak-services: SAML IdP-initiated broker login bypasses link-only restriction
Summary: CVE-2026-16442 keycloak-services: keycloak-services: SAML IdP-initiated broke...
Keywords:
Status: NEW
Alias: CVE-2026-16442
Deadline: 2026-10-15
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-21 07:38 UTC by OSIDB Bzimport
Modified: 2026-08-05 13:42 UTC (History)
29 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-21 07:38:45 UTC
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/{client_id} 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.


Note You need to log in before you can comment on or make changes to this bug.