CVE-2026-144907: Keycloak-services: keycloak-services: padding oracle on encrypted saml assertions in identity brokering

Published Dec 4, 2026
·
Updated

A flaw was found in the SAML identity brokering component of Keycloak, which allows the server to act as a service provider for external identity providers. The issue occurs because Keycloak attempts to decrypt encrypted SAML assertions before verifying their digital signature or integrity. By observing different error responses when decryption fails due to invalid padding, an attacker can recover the sensitive contents of an encrypted assertion without the private key.

Affected Software

1 affected component
Red Hat Keycloak

Event History

Dec 4, 2026
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using Keycloak as a SAML service provider for an external identity provider are exposed through the SAML identity brokering component, specifically when handling encrypted SAML assertions.

2

What does an attacker need to exploit the flaw?

The attacker needs to submit encrypted SAML assertions and observe differing error responses produced when decryption fails because of invalid padding. No credentials or user interaction are indicated by the provided severity vector.

3

What could an attacker obtain?

An attacker can recover sensitive contents from an encrypted SAML assertion without possessing the private key.

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