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.
CVE-2024-8698
This high-severity CVE scores 7.7 under NVD CVSS v3. EPSS exploit probability: 2.0%, top 21% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.7
- EG Score
- 7.7(medium)
- EG Risk
- 51(Track)EG Risk 51/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity77% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 2%
- EPSS %ILE
- 80%
- KEV
- Not listed
Published
September 19, 2024
Last Modified
August 4, 2026
Advisory Details (10)
Auto-updated Aug 4, 2026Affected: Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Important. A Common
https://access.redhat.com/errata/RHSA-2024:8823Affected: Red Hat Enterprise Linux 9.
https://access.redhat.com/errata/RHSA-2024:6880Affected: Red Hat Enterprise Linux 8.
https://access.redhat.com/errata/RHSA-2024:6879Affected: Red Hat Enterprise Linux 7.
https://access.redhat.com/errata/RHSA-2024:6878Vendor Advisories for CVE-2024-8698(12)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2024:8826Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update
- RHSA-2024:8823Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update
- RHSA-2024:8824Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update
- RHSA-2024:6889Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat build of Keycloak 24.0.8 Images Update
- RHSA-2024:6890Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat build of Keycloak 24.0.8 Update
- RHSA-2024:6887Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat build of Keycloak 22.0.13 Images Update
- RHSA-2024:6888Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat build of Keycloak 22.0.13 Update
- RHSA-2024:6886Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.11 security update
- +4 more
Patch Availability(11)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | eap8-wildfly-0:8.0.4-2.GA_redhat_00005.1.el9eap | 2024-11-04 | redhat |
| redhat | eap8-wildfly-0:8.0.4-2.GA_redhat_00005.1.el8eap | 2024-11-04 | redhat |
| redhat | org.keycloak-keycloak-parent | 2024-11-04 | redhat |
| redhat | patch | 2024-09-19 | redhat |
| redhat | org.keycloak/keycloak-saml-core | 2024-09-19 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.18-1.redhat_00001.1.el7sso | 2024-09-19 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.18-1.redhat_00001.1.el8sso | 2024-09-19 | redhat |
| redhat | rhbk/keycloak-rhel9-operator:24-17 | 2024-09-19 | redhat |
| redhat | rhbk/keycloak-rhel9-operator:22-21 | 2024-09-19 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.18-1.redhat_00001.1.el9sso | 2024-09-19 | redhat |
| redhat | rh-sso-7/sso76-openshift-rhel8:7.6-54 | 2024-09-19 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.keycloak:keycloak-saml-core | 25.0.0 ... 25.0.5 (6 versions) | 25.0.6 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 35× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 143 total refreshes for this CVE.
- 2026-08-25 13:47 UTCEPSS rescore
- 2026-08-24 14:15 UTCEPSS rescore
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-21 23:47 UTCEPSS rescore
- 2026-08-20 22:54 UTCEPSS rescore
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-19 13:59 UTCOSV refresh
- 2026-08-18 13:47 UTCEPSS rescore
- 2026-08-17 13:46 UTCEPSS rescore
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-15 01:29 UTCEPSS rescore
- 2026-08-13 21:59 UTCEPSS rescore
- 2026-08-12 13:49 UTCEPSS rescore
- 2026-08-10 23:58 UTCEPSS rescore
- 2026-08-09 13:45 UTCEPSS rescore
- 2026-08-08 16:35 UTCEPSS rescore
- 2026-08-07 16:26 UTCEPSS rescore
- 2026-08-06 13:45 UTCEPSS rescore
- 2026-08-05 19:16 UTCEPSS rescore
- 2026-08-05 19:16 UTCEPSS rescore
- 2026-08-04 15:08 UTCEPSS rescore
- 2026-08-04 10:37 UTCEPSS rescore
- 2026-08-04 09:48 UTCVendor advisory
- 2026-08-04 08:20 UTCVendor advisory
Show 75 moreShow fewer
- 2026-08-04 07:32 UTCEG score recompute
- 2026-08-04 07:32 UTCVendor advisory
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-01 04:14 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 01:29 UTCEPSS rescore
- 2026-07-28 15:35 UTCEPSS rescore
- 2026-07-28 10:24 UTCOSV refresh
- 2026-07-27 14:12 UTCEPSS rescore
- 2026-07-26 14:53 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 02:46 UTCEG score recompute
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:07 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:14 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-02 17:00 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-14 23:17 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
Publicly available exploits
(2 references)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoChuydoppaz/CVE-2024-8698-POCFirst seen Oct 10, 2024
i'm noob with saml and keycloak . J4f
Open source ↗ - Nucleihttp/cves/2024/CVE-2024-8698.yamlFirst seen Jan 1, 2024
Keycloak - SAML Core Package Signature Validation Flaw
Open source ↗
Frequently asked(5)
What is CVE-2024-8698?
When was CVE-2024-8698 disclosed?
Is CVE-2024-8698 actively exploited?
What is the CVSS score of CVE-2024-8698?
How do I remediate CVE-2024-8698?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-8698
Is Your Infrastructure Affected by CVE-2024-8698?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.