Live threats

All CVEs / Red Hat

CVE-2024-8698Red Hat Build of Keycloak

High 7.7

Priority
46
CVSS 3.1
7.7
EPSS
2.2%
probability of exploitation in 30 days · percentile 84
Auth required
Yes
Published
Sep 19, 2024
Updated
Aug 4, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Red Hat Build of Keycloak.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.keycloak:keycloak-saml-core < 22.0.13 22.0.13 —
Maven org.keycloak:keycloak-saml-core ≥ 23.0.0 < 24.0.8 24.0.8 —
Maven org.keycloak:keycloak-saml-core ≥ 25.0.0 < 25.0.6 25.0.6 —

Per OSV / GitHub Advisories (GHSA-xgfv-xpx8-qhcr). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.