Loading advisory.
Loading advisory.
Improper Verification of SAML Responses Leading to Privilege Escalation in Keycloak
A flaw exists in the SAML signature validation method within the Keycloak XMLSignatureUtil class. The method incorrectly determines whether a SAML signature is for the full document or only for specific assertions based on the position of the signature in the XML document, rather than the…
Published 2024-09-19 15:48 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.keycloak:keycloak-saml-core | Maven | < 22.0.13 >= 23.0.0, < 24.0.8 >= 25.0.0, < 25.0.6 versions 1.1.0.Beta1, 1.1.0.Beta2, 1.1.0.Final, 1.1.1.Final, 1.2.0.Beta1, 1.2.0.CR1, 1.2.0.Final, 1.3.0.Final, 1.3.1.Final, 1.4.0.Final, 1.5.0-Final, 1.5.0.Final, 1.5.1.Final, 1.6.0.Final, 1.6.1.Final, 1.7.0.CR1, 1.7.0.Final, 1.8.0.Alpha1, 1.8.0.CR1, 1.8.0.CR2 and 141 more | 22.0.13, 24.0.8, 25.0.6 | No single command for Maven. Update to 22.0.13, 24.0.8, 25.0.6 in your build file. |
A flaw exists in the SAML signature validation method within the Keycloak XMLSignatureUtil class. The method incorrectly determines whether a SAML signature is for the full document or only for specific assertions based on the position of the signature in the XML document, rather than the Reference element used to specify the signed element. This flaw allows attackers to create crafted responses that can bypass the validation, potentially leading to privilege escalation or impersonation attacks.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.020 on 2026-11-24 to 0.022 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.020 | first score | v2026.06.15 |
| 2026-11-26 | 0.022 | 0.020 | v2026.06.15 |