Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 5.9CVE-2026-144907

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

Published 04/12/2026 · Updated 04/12/2026 · Red Hat Build of Keycloak

Description

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.

Vendor workaround

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.

Original text from the vendor's CVE record.

Affected products and versions

Red Hat Red Hat Build of Keycloak
Red Hat Red Hat Build of Keycloak
Red Hat Red Hat Single Sign-On 7
Red Hat Red Hat Single Sign-On 7

CVSS vector, explained

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

Attack vector
Network (from the internet)
Attack complexity
High
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
None
Availability
None

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.