CVE-2026-2092 PUBLISHED

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

Assigner: redhat
Reserved: 06.02.2026 Published: 18.03.2026 Updated: 18.03.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
CVSS Score: 7.7

Product Status

Vendor Red Hat
Product Red Hat build of Keycloak 26.2
Versions Default: affected
  • unaffected from 26.2.14-1 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.2
Versions Default: affected
  • unaffected from 26.2-16 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.2
Versions Default: affected
  • unaffected from 26.2-16 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.2.14
Versions Default: unaffected
Vendor Red Hat
Product Red Hat build of Keycloak 26.4
Versions Default: affected
  • unaffected from 26.4.10-1 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.4
Versions Default: affected
  • unaffected from 26.4-12 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.4
Versions Default: affected
  • unaffected from 26.4-12 to * (excl.)
Vendor Red Hat
Product Red Hat build of Keycloak 26.4.10
Versions Default: unaffected

Workarounds

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.

Credits

  • Red Hat would like to thank Oleh Konko for reporting this issue.

References

Problem Types

  • Improper Validation of Specified Type of Input CWE