CVE-2025-3501

Org.keycloak.protocol.services: keycloak hostname verification

State
Published
Severity
8.2 High
Published
Apr 29, 2025
Updated
Sep 21, 2026
Reserved
Apr 10, 2025

Read the record on cve.org

Description

A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.

Scores

CVSSScoreVectorSource
3.18.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:Nredhat

Weaknesses

  • CWE-297 Improper Validation of Certificate with Host Mismatch

Affected Products

ProductVersions
keycloak
  • 25.0.0 to before 25.*Affected
  • 26.0.0 to before 26.0.11Affected
  • 26.1.0 to before 26.1.*Unknown
  • 26.2.0 to before 26.2.2Affected
Red Hat Build of KeycloakRed Hat
    Red Hat build of Keycloak 26Red Hat
      Red Hat build of Keycloak 26.0Red Hat
      • 26.0.11-2 and laterNot affected
      Red Hat build of Keycloak 26.0Red Hat
      • 26.0-12 and laterNot affected
      Red Hat build of Keycloak 26.0Red Hat
      • 26.0-13 and laterNot affected
      Red Hat build of Keycloak 26.2Red Hat
      • 26.2.5-1 and laterNot affected
      Red Hat build of Keycloak 26.2Red Hat
      • 26.2-4 and laterNot affected
      Red Hat build of Keycloak 26.2Red Hat
      • 26.2-4 and laterNot affected
      Red Hat Single Sign-On 7Red Hat

        References

        Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.