CVE-2026-144907 PUBLISHED

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

Assigner: redhat
Reserved: 04.12.2026 Published: 04.12.2026 Updated: 04.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS Score: 5.9

Product Status

Vendor Red Hat
Product Red Hat Build of Keycloak
Versions Default: affected
Vendor Red Hat
Product Red Hat Build of Keycloak
Versions Default: affected
Vendor Red Hat
Product Red Hat Single Sign-On 7
Versions Default: affected
Vendor Red Hat
Product Red Hat Single Sign-On 7
Versions Default: affected

Workarounds

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Credits

  • Red Hat would like to thank Swarun Kameswara Nanduri (CERT-In) for reporting this issue.

References

Problem Types

  • Observable Discrepancy CWE