CVE-2024-8698 | Keycloak-saml-core: 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 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.

Published: 2024-09-19 Last update: 2026-04-15 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-8698 is rated High Risk (66.5/100): CVSS High severity, with high exploitation likelihood (EPSS 82.22%, 99th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-8698

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-20 81.26% 82.22% +0.95%
2 2026-04-18 82.22% 81.26% -0.95%
3 2026-04-15 82.22%

Full EPSS history (34 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-8698

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.7 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.8 5.3 [email protected]

Weakness enumeration for CVE-2024-8698

GitHub Security Advisory for CVE-2024-8698

GHSA-xgfv-xpx8-qhcr · Severity: high · Ecosystem: maven — Improper Verification of SAML Responses Leading to Privilege Escalation in Keycloak

OS Trackers for CVE-2024-8698

vendor priority summary link
redhat high https://access.redhat.com/security/cve/CVE-2024-8698

Affected software / configurations for CVE-2024-8698

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2024-8698

cvelogic Threat Intelligence