CVE-2026-2092

Keycloak-services: keycloak: unauthorized access via improper validation of encrypted saml assertions

State
Published
Severity
7.7 High
Published
Mar 18, 2026
Updated
Oct 6, 2026
Reserved
Feb 6, 2026

Read the record on cve.org

Description

A flaw was found in Keycloak. Keycloak's Security Assertion Markup Language (SAML) broker endpoint does not properly validate encrypted assertions when the overall SAML response is not signed. An attacker with a valid signed SAML assertion can exploit this by crafting a malicious SAML response. This allows the attacker to inject an encrypted assertion for an arbitrary principal, leading to unauthorized access and potential information disclosure.

Scores

CVSSScoreVectorSource
3.17.7 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:Lredhat
3.17.7 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:Lredhat-SADP

Weaknesses

  • CWE-1287 Improper Validation of Specified Type of Input

Affected Products

ProductVersions
Red Hat build of Keycloak 26.2Red Hat
  • 26.2.14-1 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-16 and laterNot affected
Red Hat build of Keycloak 26.2Red Hat
  • 26.2-16 and laterNot affected
Red Hat build of Keycloak 26.2.14Red Hat
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4.10-1 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-12 and laterNot affected
    Red Hat build of Keycloak 26.4Red Hat
    • 26.4-12 and laterNot affected
    Red Hat build of Keycloak 26.4.10Red Hat
      Red Hat Single Sign-On 7.6.13Red Hat
        Red Hat Single Sign-On 7.6 for RHEL 7Red Hat
        • 0:18.0.20-1.redhat_00001.1.el7sso and laterNot affected
        Red Hat Single Sign-On 7.6 for RHEL 8Red Hat
        • 0:18.0.20-1.redhat_00001.1.el8sso and laterNot affected
        Red Hat Single Sign-On 7.6 for RHEL 9Red Hat
        • 0:18.0.20-1.redhat_00001.1.el9sso and laterNot affected
        RHEL-8 based Middleware ContainersRed Hat
        • 7.6-85 and laterNot affected

        References

        Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.