CVE-2026-144907

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

Published Dec 4, 2026 CVSS 3.1 · 5.9 Medium EPSS n/a KEV · Not listed
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.

Remediation

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Keycloak-services: keycloak-services: padding oracle on encrypted saml assertions in identity brokering
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-203
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Dec 4, 2026, 1:43 PM
Reserved
Dec 4, 2026, 12:07 PM
Status
Awaiting Analysis
Published
Dec 4, 2026, 1:17 PM
Modified
Dec 4, 2026, 2:18 PM