GHSA-794g-x443-36f7
Keycloak: Unauthorized access via improper validation of encrypted SAML assertions
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | <= 26.2.5 | no fix listed |
| Maven | org.keycloak:keycloak-services | >= 26.3.0, <= 26.4.7 | no fix listed |
| Maven | org.keycloak:keycloak-services | >= 26.5.0, < 26.5.5 | 26.5.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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