CVE-2025-3501

Org.keycloak.protocol.services: keycloak hostname verification

Published Apr 29, 2025 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
Description
A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.

Remediation

Vendor Workaround

Use the correct TLS configuration and avoid using "--tls-hostname-verifier=any".

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-12660 A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.
Github GHSA Github GHSA GHSA-hw58-3793-42gg Keycloak hostname verification
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak:26.0
cpe:/a:redhat:build_keycloak:26.2
Type Values Removed Values Added
Metrics epss

{'score': 0.00029}

epss

{'score': 0.00012}

Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak:26.2::el9
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.0::el9
References
Type Values Removed Values Added
Description A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.
Title Org.keycloak.protocol.services: keycloak hostname verification
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-297
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Sep 21, 2026, 5:27 AM
Reserved
Apr 10, 2025, 12:29 PM
Status
Deferred
Published
Apr 29, 2025, 9:15 PM
Modified
Sep 21, 2026, 6:17 AM
Severity
Important
Public date
Apr 29, 2025, 12:00 AM