CVE-2024-8698
A public proof of concept exists; no exploitation attested.
- Published2024-09-19
- Fixed in25.0.6 · 24.0.8 · 22.0.13
- WeaknessCWE-347
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-09-1916:15CVE publishedNVD
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 25.0 | ≥ 25.0.0, < 25.0.6 | 25.0.6 | OSV |
| 24.0 | ≥ 23.0.0, < 24.0.8 | 24.0.8 | OSV |
| 22.0 | < 22.0.13 | 22.0.13 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA92 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- keycloakother versions: not affected
https://github.com/keycloak/keycloak
Affected- < 25.0.5fixed in 25.0.5semver
- Red Hat Build of Keycloakother versions: not affected
https://access.redhat.com/downloads/content/package-browser/
- Red Hat Build of Keycloakother versions: not affected
package keycloak-saml-corehttps://access.redhat.com/downloads/content/package-browser/
- Red Hat build of Keycloak 22other versions: affected
package rhbk/keycloak-operator-bundlehttps://catalog.redhat.com/software/containers/
Not affected ≥ 22.0.13-1
- Red Hat build of Keycloak 22other versions: affected
package rhbk/keycloak-rhel9https://catalog.redhat.com/software/containers/
Not affected ≥ 22-18
- Red Hat build of Keycloak 22other versions: affected
package rhbk/keycloak-rhel9-operatorhttps://catalog.redhat.com/software/containers/
Not affected ≥ 22-21
86 more products in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-08-04
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- eap8-activemq-artemisRed Hat:jboss_enterprise_application_platform:8.0::el9all versions · fixed in 0:2.33.0-1.redhat_00015.1.el9eapand 14 other packages
- eap8-activemq-artemisRed Hat:jboss_enterprise_application_platform:8.0::el8all versions · fixed in 0:2.33.0-1.redhat_00015.1.el8eapand 14 other packages
- eap8-aesh-extensionsRed Hat:jboss_enterprise_application_platform:8.0::el9all versions · fixed in 0:1.8.0-2.redhat_00001.1.el9eap
- eap8-aesh-extensionsRed Hat:jboss_enterprise_application_platform:8.0::el8all versions · fixed in 0:1.8.0-2.redhat_00001.1.el8eap
- eap8-aesh-readlineRed Hat:jboss_enterprise_application_platform:8.0::el9all versions · fixed in 0:2.2.0-2.redhat_00001.1.el9eap
- eap8-aesh-readlineRed Hat:jboss_enterprise_application_platform:8.0::el8all versions · fixed in 0:2.2.0-2.redhat_00001.1.el8eap
- eap8-apache-commons-codecRed Hat:jboss_enterprise_application_platform:8.0::el9all versions · fixed in 0:1.16.1-2.redhat_00007.1.el9eap
- eap8-apache-commons-codecRed Hat:jboss_enterprise_application_platform:8.0::el8all versions · fixed in 0:1.16.1-2.redhat_00007.1.el8eap
65 more package ranges on OSV.dev
Vendor advisories
keycloak-saml-core: Improper Verification of SAML Responses Leading to Privilege Escalation in Keycloak
keycloak-saml-core-public as a component of Red Hat Build of Keycloak · keycloak-saml-core-public as a component of Red Hat Single Sign-On 7
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update
Red Hat Security Advisory: Red Hat build of Keycloak 24.0.8 Images Update
Red Hat Security Advisory: Red Hat build of Keycloak 24.0.8 Update
7 more advisories
Fix
- Update keycloak-saml-core to 25.0.6 · 24.0.8 · 22.0.13
- Vendor fix Red Hat Product Security RHSA-2024:8826 · 1 productBefore applying the update, make sure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications, configuration files, databases and database settings. For details on how to apply this update, refer to: https://acce…
- Vendor fix Red Hat Product Security RHSA-2024:6889 · 7 productsBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on.
- Vendor fix Red Hat Product Security RHSA-2024:6886 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link (you must log in to download the update).
- Vendor fix Red Hat Product Security RHSA-2024:6882 · 3 productsTo update to the latest Red Hat Single Sign-On 7.6.11 for OpenShift image, Follow these steps to pull in the content: 1. On your main hosts, ensure you are logged into the CLI as a cluster administrator or user with project administrator access to the global "openshift" project. For example: $ oc…
- Vendor fix Red Hat Product Security RHSA-2024:6879 · 3 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2024:8826 · 1 productMitigation 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.
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01huydoppaz/CVE-2024-8698-POC
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2024-09-19
- CNACVSS 3.17.7known since 2026-10-23
- CNAweakness (CWE)CWE-347known since 2026-10-23
- FIRST EPSSEPSS score2.0 %2026-11-16
- PoC-in-GitHubproof of concept1known since 2026-11-01
- ProjectDiscoverydetectionread 2026-11-17
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2024-10-14
Identifiers
- EUVD-2024-3168same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-xgfv-xpx8-qhcrsame flawGitHub Advisory Database · CC-BY-4.0
- RHSA-2024:6878advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:6879advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:6880advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:8823advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:8824advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 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
- NVD status
- Deferred
- GitHub Advisory
- GHSA-xgfv-xpx8-qhcr
Frequently asked questions
What is CVE-2024-8698?
Is CVE-2024-8698 actively exploited?
What is the CVSS score for CVE-2024-8698?
Running keycloak-saml-core? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-xgfv-xpx8-qhcr
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0