Bug 2503139 (CVE-2026-16443) - CVE-2026-16443 keycloak-services: keycloak-services: SAML broker metadata import disables response signature validation
Summary: CVE-2026-16443 keycloak-services: keycloak-services: SAML broker metadata imp...
Keywords:
Status: NEW
Alias: CVE-2026-16443
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-21 07:41 UTC by OSIDB Bzimport
Modified: 2026-08-05 13:40 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:41:38 UTC
A vulnerability was identified in Keycloak where the SAML Identity Provider IdP metadata parser incorrectly configures signature validation. When a metadata document is imported that sets WantAuthnRequestsSigned to false and includes a KeyDescriptor without an explicit use attribute, the parser stores the certificate but fails to enable the validateSignature setting.
As a result, the broker endpoint /realms/realm/broker/alias/endpoint does not verify the cryptographic signature of incoming SAML responses. An unauthenticated remote attacker can exploit this by capturing a valid RelayState and SAML request ID through a standard login flow and then submitting a forged, unsigned SAML response. By providing the external SAML NameID of a target user, the attacker can successfully authenticate as that user.
Successful exploitation allows an attacker to:
Bypass authentication mechanisms.

Impersonate any user who has a federated identity link.

Access and modify data belonging to the compromised user account.


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