GHSA-794g-x443-36f7

Keycloak: Unauthorized access via improper validation of encrypted SAML assertions

At a glance

Published
Updated
CVE
CVE-2026-2092
Aliases
BIT-keycloak-2026-2092
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L

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.

Affected packages

PackageVersions
Maven · org.keycloak:keycloak-servicesintroduced 0, last affected 26.2.5
Maven · org.keycloak:keycloak-servicesintroduced 26.3.0, last affected 26.4.7
Maven · org.keycloak:keycloak-servicesintroduced 26.5.0, fixed 26.5.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database