Red Hat build of Keycloak 26.2
Keycloak-services: keycloak: unauthorized access via improper validation of encrypted saml assertions
A flaw was found in Keycloak. Keycloak's Security Assertion Markup Language (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. This allows the attacker to inject an encrypted assertion for an arbitrary principal, leading to unauthorized access and potential information disclosure.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 26.2.14
- >= 26.3.0, < 26.4.10
- >= 26.5.0, < 26.5.5
Fixed in 26.2.14, 26.4.10, 26.5.5
Fixed in 26.2.14-1
Fixed in 26.2-16
Fixed in 26.2-16
Fixed in 26.4.10-1
Fixed in 26.4-12
Fixed in 26.4-12
Fixed in 0:18.0.20-1.redhat_00001.1.el7sso
Fixed in 0:18.0.20-1.redhat_00001.1.el8sso
Fixed in 0:18.0.20-1.redhat_00001.1.el9sso
Fixed in 7.6-85
Mitigation
Upgrade the affected product to 26.2.14 or 26.4.10 or 26.5.5 or later.
Upgrade Red Hat build of Keycloak 26.2 to 26.2.14-1 or later.
Upgrade Red Hat build of Keycloak 26.2 to 26.2-16 or later.
Upgrade Red Hat build of Keycloak 26.2 to 26.2-16 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4.10-1 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-12 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-12 or later.
Upgrade Red Hat Single Sign-On 7.6 for RHEL 7 to 0:18.0.20-1.redhat_00001.1.el7sso or later.
Upgrade Red Hat Single Sign-On 7.6 for RHEL 8 to 0:18.0.20-1.redhat_00001.1.el8sso or later.
Upgrade Red Hat Single Sign-On 7.6 for RHEL 9 to 0:18.0.20-1.redhat_00001.1.el9sso or later.
Upgrade RHEL-8 based Middleware Containers to 7.6-85 or later.
Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:3925
- Vendor advisory access.redhat.com/errata/RHSA-2026:3926
- Vendor advisory access.redhat.com/errata/RHSA-2026:3947
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:3948
- Vendor advisory access.redhat.com/errata/RHSA-2026:76128
- Vendor advisory access.redhat.com/errata/RHSA-2026:76129
- Vendor advisory access.redhat.com/errata/RHSA-2026:76130
- Vendor advisory access.redhat.com/errata/RHSA-2026:76132
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.