Improper Verification of Cryptographic Signature Affecting keycloak package, versions <25.0.6-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
2.03% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-KEYCLOAK-14888169
  • published7 Jan 2026
  • disclosed19 Sept 2024

Introduced: 19 Sep 2024

CVE-2024-8698  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade Chainguard keycloak to version 25.0.6-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keycloak package and not the keycloak package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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 Base Scores

version 3.1