CVE-2024-8698 in Class products
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 s...
Affects 0 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-8698 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-267235-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L |
| Published | 2024-09-19 |
| Last modified | 2026-08-04 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-347: CWE-347
Related attack patterns (CAPEC)
CAPEC-463 Padding Oracle Crypto Attack via CWE-347
CAPEC-475 Signature Spoofing by Improper Validation via CWE-347
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-8698 is a flaw in the SAML signature validation method within the Keycloak XMLSignatureUtil class, which incorrectly determines the scope of the SAML signature. This can lead to privilege escalation or impersonation attacks. The CVSS score is 7.7, indicating a high severity, and the EPSS score suggests a high likelihood of exploitation. Immediate action is recommended to mitigate the risk, especially in environments where SAML is used for authentication and authorization.
The vulnerability allows an attacker to craft SAML responses that bypass the signature validation process. This is achieved by manipulating the position of the signature in the XML document, rather than using the Reference element to specify the signed element. This can lead to privilege escalation or impersonation attacks, as the system may incorrectly validate the SAML response.
Compensating controls AI-drafted, review before use
Implement strict input validation and ensure that the SAML signature validation process correctly uses the Reference element to specify the signed element. Additionally, monitor for unusual authentication attempts and review logs for any signs of suspicious activity.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2024-8698?
CVE-2024-8698 is a flaw in the SAML signature validation method within the Keycloak XMLSignatureUtil class, which incorrectly determines the scope of the SAML signature. This can lead to privilege escalation or impersonation attacks. The CVSS score is 7.7, indicating a high severity, and the EPSS score suggests a high likelihood of exploitation. Immediate action is recommended to mitigate the risk, especially in environments where SAML is used for authentication and authorization.
What is the CVSS score for CVE-2024-8698?
CVE-2024-8698 has CVSS 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L. EPSS: 2.2%.
Is CVE-2024-8698 actively exploited?
No confirmed active exploitation of CVE-2024-8698 as of 2026-08-05.
How do I remediate CVE-2024-8698?
Priority: IMMEDIATE.
What systems are affected by CVE-2024-8698?
CVE-2024-8698 affects Class; Element; Full; Keycloak.
What NERC-CIP standard applies to CVE-2024-8698?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows an attacker to bypass the SAML signature validation, which can lead to unauthorized access to the system. This is a critical security control to prevent unauthorized access to critical cyber assets.
What IEC 62443 requirement maps to CVE-2024-8698?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a flaw in the authentication and authorization process, which can lead to privilege escalation or impersonation attacks. Ensuring the integrity and authenticity of SAML responses is essential for maintaining the security of the system.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Class","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-08-04.