Home / Red Hat / Red Hat Build of Keycloak / CVE-2024-8698
CVE-2024-8698: is it exploited, and which versions of Red Hat Build of Keycloak are affected and fixed?
CVE-2024-8698 is a cryptographic signature not verified vulnerability in Red Hat Build of Keycloak. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: org.keycloak:keycloak-saml-core before 22.0.13, org.keycloak:keycloak-saml-core from 23.0.0 before 24.0.8 and org.keycloak:keycloak-saml-core from 25.0.0 before 25.0.6 (GitHub advisory GHSA-xgfv-xpx8-qhcr). Fixed in 22.0.13, 24.0.8 and 25.0.6 (GitHub advisory GHSA-xgfv-xpx8-qhcr). Severity: High (7.7, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:26 UTC.
What is 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.
From the CVE record by redhat, last updated August 4, 2026, 08:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| keycloak | before 25.0.5 | 25.0.5 | |
| Red Hat | Red Hat Build of Keycloak | not stated | |
| Red Hat | Red Hat Build of Keycloak keycloak-saml-core | not stated | |
| Red Hat | Red Hat build of Keycloak 22 rhbk/keycloak-operator-bundle | all versions (default) | 22.0.13-1 |
| Red Hat | Red Hat build of Keycloak 22 rhbk/keycloak-rhel9 | all versions (default) | 22-18 |
| Red Hat | Red Hat build of Keycloak 22 rhbk/keycloak-rhel9-operator | all versions (default) | 22-21 |
| Red Hat | Red Hat build of Keycloak 24 rhbk/keycloak-operator-bundle | all versions (default) | 24.0.8-1 |
| Red Hat | Red Hat build of Keycloak 24 rhbk/keycloak-rhel9 | all versions (default) | 24-17 |
| Red Hat | Red Hat build of Keycloak 24 rhbk/keycloak-rhel9-operator | all versions (default) | 24-17 |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 keycloak-saml-core-public | not stated | |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 org.keycloak-keycloak-parent | not stated | |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-activemq-artemis | all versions (default) | 0:2.33.0-1.redhat_00015.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-activemq-artemis-native | all versions (default) | 1:2.0.0-2.redhat_00005.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-aesh-extensions | all versions (default) | 0:1.8.0-2.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-aesh-readline | all versions (default) | 0:2.2.0-2.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-apache-commons-codec | all versions (default) | 0:1.16.1-2.redhat_00007.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-apache-commons-collections | all versions (default) | 0:3.2.2-28.redhat_2.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-apache-commons-io | all versions (default) | 0:2.15.1-1.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-apache-commons-lang | all versions (default) | 0:3.14.0-2.redhat_00006.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-apache-cxf | all versions (default) | 0:4.0.5-1.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-artemis-native | all versions (default) | 1:2.0.0-2.redhat_00005.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-artemis-wildfly-integration | all versions (default) | 0:2.0.1-1.redhat_00002.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-asyncutil | all versions (default) | 0:0.1.0-2.redhat_00010.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-aws-java-sdk | all versions (default) | 0:1.12.284-2.redhat_00002.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-cryptacular | all versions (default) | 0:1.2.5-2.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-eap-product-conf-parent | all versions (default) | 0:800.4.0-1.GA_redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-fastinfoset | all versions (default) | 0:2.1.0-4.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-hibernate | all versions (default) | 0:6.2.31-1.Final_redhat_00002.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-hibernate-validator | all versions (default) | 0:8.0.1-3.Final_redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-hppc | all versions (default) | 0:0.8.1-2.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-insights-java-client | all versions (default) | 0:1.1.3-1.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-jakarta-servlet-jsp-jstl-api | all versions (default) | 0:3.0.1-1.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-jboss-cert-helper | all versions (default) | 0:1.1.3-1.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-jboss-logging | all versions (default) | 0:3.5.3-1.Final_redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-jctools | all versions (default) | 0:4.0.2-1.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-jgroups | all versions (default) | 0:5.3.10-1.Final_redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-log4j | all versions (default) | 0:2.22.1-1.redhat_00002.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-narayana | all versions (default) | 0:6.0.3-1.Final_redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-nimbus-jose-jwt | all versions (default) | 0:9.37.3-1.redhat_00001.1.el8eap |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 eap8-objectweb-asm | all versions (default) | 0:9.6.0-1.redhat_00002.1.el8eap |
As the CVE record by redhat states it, last updated August 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-saml-core | < 22.0.13 | 22.0.13 | GHSA-xgfv-xpx8-qhcr |
| Maven | org.keycloak:keycloak-saml-core | >= 23.0.0, < 24.0.8 | 24.0.8 | GHSA-xgfv-xpx8-qhcr |
| Maven | org.keycloak:keycloak-saml-core | >= 25.0.0, < 25.0.6 | 25.0.6 | GHSA-xgfv-xpx8-qhcr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 20, 2024. Summary: Improper Verification of SAML Responses Leading to Privilege Escalation in Keycloak.
How severe is CVE-2024-8698?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-8698 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 19, 2024)
- EPSS
- 2.03% probability of exploitation activity in the next 30 days, percentile 81.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-347 Improper Verification of Cryptographic Signature
Is there a workaround? (from the CVE record)
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Where are the vendor advisories and references?
- RHSA-2024:6878 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6879 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6880 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6882 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6886 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6887 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6888 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6889 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6890 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:8823 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:8824 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:8826 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-8698 vdb-entry, x_refsource_REDHAT
- RHBZ#2311641 issue-tracking, x_refsource_REDHAT
Who found and reported it?
- Red Hat would like to thank Tanner Emek for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 11, 2024
- Published
- September 19, 2024, 15:48 UTC
- CVE record updated
- August 4, 2026, 08:05 UTC by redhat
- NVD
- Deferred, last modified August 4, 2026, 09:16 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:26 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Build of Keycloak?
- Dec 3, 2026CVE-2026-143804 Red Hat Build of Keycloak: no limit on login attempts (brute force)
- Dec 3, 2026CVE-2026-143801 Red Hat Build of Keycloak: missing authorization
- Dec 2, 2026CVE-2026-142446 Red Hat Exploit Intelligence: not Failing Securely
- Dec 2, 2026CVE-2026-142441 Red Hat Exploit Intelligence: improper access control
- Dec 2, 2026CVE-2026-142457 Red Hat Exploit Intelligence: denial of service (resources allocated without limits)
- Dec 2, 2026CVE-2026-142455 Red Hat Exploit Intelligence: denial of service (uncontrolled resource consumption)
- Dec 2, 2026CVE-2026-142454 Red Hat Exploit Intelligence: HTTP request smuggling
- Dec 2, 2026CVE-2026-142452 Red Hat Exploit Intelligence: improper Neutralization of CRLF Sequences
Every CVE in Red Hat Build of Keycloak
Questions about CVE-2024-8698
Is CVE-2024-8698 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 2.03% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat Build of Keycloak are affected by CVE-2024-8698?
org.keycloak:keycloak-saml-core before 22.0.13, org.keycloak:keycloak-saml-core from 23.0.0 before 24.0.8 and org.keycloak:keycloak-saml-core from 25.0.0 before 25.0.6, per the GitHub advisory GHSA-xgfv-xpx8-qhcr. The tables above give every range the sources list.
Which version fixes CVE-2024-8698?
22.0.13, 24.0.8 and 25.0.6, per the GitHub advisory GHSA-xgfv-xpx8-qhcr. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-8698?
High (7.7, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2024-8698?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.