GitHub Advisoryadvisory · Maven

GHSA-794g-x443-36f7 Keycloak: Unauthorized access via improper validation of encrypted SAML assertions

HIGH Published 2026-07-02 Modified 2026-10-26 Official page ↗
Aliases
CVE-2026-2092
Ecosystem
Maven
Packages
org.keycloak:keycloak-services
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
Weaknesses
CWE-1287
Reviewed
2026-07-02

Affected packages

• Maven org.keycloak:keycloak-services: <= 26.2.5 (no fix yet) • Maven org.keycloak:keycloak-services: >= 26.3.0, <= 26.4.7 (no fix yet) • Maven org.keycloak:keycloak-services: >= 26.5.0, < 26.5.5 → fixed in 26.5.5

Description

Keycloak's 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, injecting an encrypted assertion for an arbitrary principal, leading to unauthorized access and potential information disclosure.

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-1287 Improper Validation of Specified Type of Input weakness

References