Bug 2590883 (CVE-2026-144907) - CVE-2026-144907 keycloak-services: keycloak-services: Padding oracle on encrypted SAML assertions in identity brokering
Summary: CVE-2026-144907 keycloak-services: keycloak-services: Padding oracle on encry...
Keywords:
Status: NEW
Alias: CVE-2026-144907
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-04 12:08 UTC by OSIDB Bzimport
Modified: 2026-12-04 12:08 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-04 12:08:24 UTC
A padding oracle vulnerability was discovered in the SAML identity brokering implementation of Keycloak. When Keycloak is configured as a SAML service provider, it processes incoming SAML responses that contain encrypted assertions. If a response is unsigned, Keycloak performs decryption of the assertion before any integrity or signature checks are executed. The endpoint returns a distinguishable empty HTTP 400 error when decryption fails due to an invalid CBC padding, compared to other responses when decryption succeeds. An unauthenticated remote attacker who has captured an encrypted SAML assertion can exploit this discrepancy to perform a padding oracle attack. By sending a large number of crafted requests and observing the response patterns, the attacker can recover the plaintext of the encrypted assertion byte by byte. This allows the attacker to access sensitive user identity information and attributes, bypassing the confidentiality protections provided by assertion encryption.


Note You need to log in before you can comment on or make changes to this bug.