CVE-2026-144907

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.

Statement

The Red Hat Product Security team has assessed the severity of this vulnerability as Moderate, given that exploitation requires the attacker to capture a legitimate encrypted SAML assertion and perform a high volume of requests to observe a side-channel discrepancy. Successful exploitation allows an attacker to recover the plaintext of encrypted SAML assertions, exposing user identities and attributes. The vulnerability's root cause is the decryption of SAML assertions before signature verification and the generation of distinguishable error responses for padding failures.

Mitigation

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.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.9N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityHighN/AN/A
Privileges RequiredNoneN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityHighN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactNoneN/AN/A

Vector

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

Understanding the Weakness (CWE)

Confidentiality,Access Control

Technical Impact: Read Application Data; Bypass Protection Mechanism

An attacker can gain access to sensitive information about the system, including authentication information that may allow an attacker to gain access to the system. Other security-relevant information about the operation or internal state of the product may be revealed to an unauthorized actor, such as whether a particular operation was successful or not.

Confidentiality

Technical Impact: Read Application Data

In some cases, discrepancies can be used by attackers to form a side channel. When cryptographic primitives are vulnerable to side-channel attacks, this could be used to reveal unencrypted plaintext in the worst case.

Acknowledgements

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

Frequently Asked Questions

Want to get errata notifications? Sign up here.