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: 82.2%, top 1% 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)
- EPSS
- 78.7%
- KEV
- Not listed
Published
September 19, 2024
Last Modified
April 15, 2026
References (14)
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6878
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6879
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6880
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6882
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6886
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6887
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6888
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6889
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:6890
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:8823
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:8824
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:8826
- secalert@redhathttps://access.redhat.com/security/cve/CVE-2024-8698
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=2311641
Vendor Advisories for CVE-2024-8698(3)
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
Patch Availability(11)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | org.keycloak-keycloak-parent | 2024-11-04 | redhat |
| 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 | 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 |
| redhat | patch | 2024-09-19 | redhat |
| redhat | org.keycloak/keycloak-saml-core | 2024-09-19 | redhat |
| redhat | rhbk/keycloak-rhel9-operator:22-21 | 2024-09-19 | redhat |
| redhat | rhbk/keycloak-rhel9-operator:24-17 | 2024-09-19 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.18-1.redhat_00001.1.el8sso | 2024-09-19 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.18-1.redhat_00001.1.el7sso | 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.
Additional Vendor Advisories
(9)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2024:6878IMPORTANT2024-09-19
RHSA-2024:6878 — Important
- Red HatRHSA-2024:6879IMPORTANT2024-09-19
RHSA-2024:6879 — Important
- Red HatRHSA-2024:6880IMPORTANT2024-09-19
RHSA-2024:6880 — Important
- Red HatRHSA-2024:6882IMPORTANT2024-09-19
RHSA-2024:6882 — Important
- Red HatRHSA-2024:6886IMPORTANT2024-09-19
RHSA-2024:6886 — Important
- Red HatRHSA-2024:6887IMPORTANT2024-09-19
RHSA-2024:6887 — Important
- Red HatRHSA-2024:6888IMPORTANT2024-09-19
RHSA-2024:6888 — Important
- Red HatRHSA-2024:6889IMPORTANT2024-09-19
RHSA-2024:6889 — Important
- Red HatRHSA-2024:6890IMPORTANT2024-09-19
RHSA-2024:6890 — Important
Data Freshness Timeline
(refreshed 9× in last 7d / 40× 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.
- 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
Show 59 moreShow fewer
- 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
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-23 00:09 UTCEG score recompute
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-22 21:16 UTCEPSS rescore
- 2026-05-21 23:24 UTCEG score recompute
- 2026-05-21 23:24 UTCVendor advisory
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
- 2026-05-18 21:30 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 ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-347
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.