Red Hat build of Keycloak 26.2
Keycloak: keycloak: denial of service via specially crafted saml input
A flaw was found in Keycloak. A remote, unauthenticated attacker can send a specially crafted XML input to the Security Assertion Markup Language (SAML) endpoint. This malicious input can cause high CPU usage and worker thread starvation, leading to a Denial of Service (DoS) where the server becomes unavailable.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 26.2.16
- < 26.4.12
- < 26.6.2
Fixed in 26.2.16, 26.4.12, 26.6.2
Fixed in 26.2.16-1
Fixed in 26.2-21
Fixed in 26.2-21
Fixed in 26.4.12-1
Fixed in 26.4-17
Fixed in 26.4-17
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.16 or 26.4.12 or 26.6.2 or later.
Upgrade Red Hat build of Keycloak 26.2 to 26.2.16-1 or later.
Upgrade Red Hat build of Keycloak 26.2 to 26.2-21 or later.
Upgrade Red Hat build of Keycloak 26.2 to 26.2-21 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4.12-1 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-17 or later.
Upgrade Red Hat build of Keycloak 26.4 to 26.4-17 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
To mitigate this vulnerability, restrict network access to the Keycloak SAML endpoint to trusted networks and clients. Implement firewall rules to limit inbound connections to the Keycloak service port (e.g., 8080) from untrusted sources. If the SAML protocol is not required for your deployment, consider disabling it to eliminate the attack surface. Applying these network restrictions or configuration changes may necessitate a restart or reload of the Keycloak service, which could temporarily affect its availability.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:19594
- Vendor advisory access.redhat.com/errata/RHSA-2026:19595
- Vendor advisory access.redhat.com/errata/RHSA-2026:19596
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:19597
- 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.