patchminder
Weaponized · Nuclei CVE-2024-8698

Signature bypassin Red Hat Build of Keycloak.

Published 19 Sep 2024 · Updated 4 Aug 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
High 7.7
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 2.0% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 22.0.13, 24.0.8, 25.0.6
In plain words

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.

What to do now
  • Upgrade org.keycloak:keycloak-saml-core (Maven) to 22.0.13, 24.0.8, 25.0.6 or later, whichever matches your release line.
  • Can't upgrade today? 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
keycloak
Not confirmed
Not confirmed
CVE record
Red Hat Build of Keycloak
Not confirmed
Not confirmed
CVE record
Red Hat build of Keycloak 22
Not confirmed
Not confirmed
CVE record
Red Hat build of Keycloak 24
Not confirmed
Not confirmed
CVE record
Red Hat JBoss Enterprise Application Platform 8
Not confirmed
Not confirmed
CVE record
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Not confirmed
Not confirmed
CVE record
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Not confirmed
Not confirmed
CVE record
Red Hat Single Sign-On 7
Not confirmed
Not confirmed
CVE record
Red Hat Single Sign-On 7.6 for RHEL 7
Not confirmed
Not confirmed
CVE record
Red Hat Single Sign-On 7.6 for RHEL 8
Not confirmed
Not confirmed
CVE record
Red Hat Single Sign-On 7.6 for RHEL 9
Not confirmed
Not confirmed
CVE record
RHEL-8 based Middleware Containers
Not confirmed
Not confirmed
CVE record
org.keycloak:keycloak-saml-core (Maven)
before 22.0.13
22.0.13
GitHub advisory
org.keycloak:keycloak-saml-core (Maven)
23.0.0 to before 24.0.8
24.0.8
GitHub advisory
org.keycloak:keycloak-saml-core (Maven)
25.0.0 to before 25.0.6
25.0.6
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 11 Sep 2024
    CVE ID reserved by redhat.
  2. 19 Sep 2024
    Published in the CVE List.
  3. 10 Oct 2024
    First public proof of concept on GitHub.
  4. 4 Aug 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundhuydoppaz/CVE-2024-8698-POC6 stars · created 10 Oct 2024i'm noob with saml and keycloak . J4f

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Build of Keycloak vulnerabilities

Same weakness: Improper verification of cryptographic signature

All CWE-347 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-8698: Signature bypass in Red Hat Build of Keycloak. https://patchminder.com/cve/cve-2024-8698/ (accessed 5 December 2026).