7.7

CVE-2024-8698: Keycloak-saml-core: improper verification of saml responses leading to privilege escalation in keycloak

Deferred
AliasesCGA-f4vp-3rm5-wpmvCGA-qf2j-6p78-77v7GHSA-xgfv-xpx8-qhcr
Published 19-09-2024Last modified 04-08-2026

Vulnerability summary

CVE-2024-8698 is a high (CVSS 7.7) vulnerability in keycloak. EPSS estimates a 2.03% chance of exploitation in the next 30 days, higher than 81% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.7/10
010
High · v3.1 (CVE.org)
EPSS score
2.03%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 1

Timeline

  1. 19-09-2024
    PublishedVulnerability first disclosed.
  2. 04-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

2.03%

Chance of exploitation in the next 30 days

Percentile

81%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.03% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard1 product
  • keycloak< 25.0.6-r0
Org.keycloak1 product
  • keycloak-saml-core< 22.0.13 | ≥ 23.0.0, < 24.0.8 | ≥ 25.0.0, < 25.0.6
Wolfi1 product
  • keycloak< 25.0.6-r0

3 vendors · 3 products

References

21 links
Show all 21 references