Skip to content

Enable signature validation when metadata KeyDescriptor has no use at… - #51503

Merged
pedroigor merged 1 commit into
keycloak:mainfrom
sguilhen:51471-saml-signature-validation
Aug 10, 2026
Merged

Enable signature validation when metadata KeyDescriptor has no use at…#51503
pedroigor merged 1 commit into
keycloak:mainfrom
sguilhen:51471-saml-signature-validation

Conversation

@sguilhen

@sguilhen sguilhen commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

…tribute

Closes #51471
Closes CVE-2026-16443

…tribute

Closes keycloak#51471
Closes CVE-2026-16443

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
Copilot AI balanced review requested due to automatic review settings August 6, 2026 12:16
@sguilhen
sguilhen requested review from a team as code owners August 6, 2026 12:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes SAML metadata import so certificates without a use attribute enable response signature validation.

Changes:

  • Enables signature validation for fallback certificates.
  • Adds regression coverage for metadata without key usage attributes.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
services/.../SAMLIdentityProviderFactory.java Enables validation for fallback signing certificates.
testsuite/.../KcSamlParseIdPDescriptorTest.java Tests import behavior without use="signing".

@pedroigor
pedroigor merged commit 5ec9805 into keycloak:main Aug 10, 2026
92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CVE-2026-16443 SAML broker metadata import disables response signature validation

4 participants