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
| Package | Versions |
|---|---|
| Maven · org.keycloak:keycloak-services | introduced 0, last affected 26.2.5 |
| Maven · org.keycloak:keycloak-services | introduced 26.3.0, last affected 26.4.7 |
| Maven · org.keycloak:keycloak-services | introduced 26.5.0, fixed 26.5.5 |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-794g-x443-36f7 WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-2092 ADVISORY
- https://github.com/keycloak/keycloak/pull/46929 WEB
- https://github.com/keycloak/keycloak/commit/b40a25908d937bb0563ea516487bc2c7c1d92508 WEB
- https://access.redhat.com/errata/RHSA-2026:3925 WEB
- https://access.redhat.com/errata/RHSA-2026:3926 WEB
- https://access.redhat.com/errata/RHSA-2026:3947 WEB
- https://access.redhat.com/errata/RHSA-2026:3948 WEB
- https://access.redhat.com/security/cve/CVE-2026-2092 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2437296 WEB
- https://github.com/keycloak/keycloak PACKAGE
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2092.json WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |