GitHub Advisory Database
GHSA-794g-x443-36f7
Keycloak: Unauthorized access via improper validation of encrypted SAML assertions
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | All versions up to and including 26.2.5 |
| Maven | org.keycloak:keycloak-services | From 26.3.0 up to and including 26.4.7 |
| Maven | org.keycloak:keycloak-services | From 26.5.0 before 26.5.5 (fixed in 26.5.5) |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-794g-x443-36f7
- https://nvd.nist.gov/vuln/detail/CVE-2026-2092
- https://github.com/keycloak/keycloak/pull/46929
- https://github.com/keycloak/keycloak/commit/b40a25908d937bb0563ea516487bc2c7c1d92508
- https://access.redhat.com/errata/RHSA-2026:3925
- https://access.redhat.com/errata/RHSA-2026:3926
- https://access.redhat.com/errata/RHSA-2026:3947
- https://access.redhat.com/errata/RHSA-2026:3948
- https://access.redhat.com/security/cve/CVE-2026-2092
- https://bugzilla.redhat.com/show_bug.cgi?id=2437296
- https://github.com/keycloak/keycloak
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2092.json