CVE-2026-2092: Keycloak: Unauthorized access via improper validation of encrypted SAML assertions
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.
Published Jul 2, 2026 · Updated Oct 26, 2026
Affected packages
org.keycloak:keycloak-services
- Ecosystem
- Maven
- Affected
- <= 26.2.5
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-services
org.keycloak:keycloak-services
- Ecosystem
- Maven
- Affected
- >= 26.3.0, <= 26.4.7
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-services
org.keycloak:keycloak-services
- Ecosystem
- Maven
- Affected
- >= 26.5.0, < 26.5.5
- Fixed in
- 26.5.5
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-services
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to 1seal, robbert-intraflag.
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://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2092.json
- https://github.com/advisories/GHSA-794g-x443-36f7
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-11800
Keycloak has authentication bypass via jwt algorithm confusion
high8.1Nov 3, 2026CVE-2026-9083
Keycloak vulnerable to information disclosure through arbitrary filesystem path probing
medium4.9Oct 29, 2026CVE-2026-9086
Keycloak vulnerable to cross-site scripting (xss) via case-insensitive uri validation bypass
high7.3Oct 29, 2026CVE-2026-9705
Keycloak: Attacker can re-enable and take over disabled clients via registration access token
medium6.5Oct 29, 2026CVE-2026-9799
Keycloak allows unauthorized access to resources via uma permission ticket bypass
medium4.6Oct 29, 2026CVE-2026-9800
Keycloak vulnerable to authorization bypass via incorrect uri comparison
high8.1Oct 29, 2026
