Org.keycloak.protocol.services: keycloak hostname verification
Summary
| CVE | CVE-2025-3501 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-04-29 21:15:51 UTC |
| Updated | 2026-09-21 06:17:00 UTC |
| Description | A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended. |
Risk And Classification
Primary CVSS: v3.1 8.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
EPSS: 0.004390000 probability, percentile 0.375840000 (date 2026-09-22)
Problem Types: CWE-297 | CWE-297 Improper Validation of Certificate with Host Mismatch
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| 3.1 | CNA | CVSS | 8.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Build Of Keycloak | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.0 | unaffected 26.0.11-2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.0 | unaffected 26.0-12 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.0 | unaffected 26.0-13 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.2 | unaffected 26.2.5-1 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.2 | unaffected 26.2-4 * rpm | Not specified |
| CNA | Red Hat | Red Hat Build Of Keycloak 26.2 | unaffected 26.2-4 * rpm | Not specified |
| CNA | Red Hat | Red Hat Single Sign-On 7 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/security/cve/CVE-2025-3501 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| access.redhat.com/errata/RHSA-2025:8672 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:4335 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:4336 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:8690 | [email protected] | access.redhat.com | |
| github.com/keycloak/keycloak/issues/39350 | [email protected] | github.com | |
| github.com/keycloak/keycloak/pull/39366 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2025-04-10T12:24:28.784Z | Reported to Red Hat. |
| CNA | 2025-04-29T00:00:00.000Z | Made public. |
Workarounds
CNA: Use the correct TLS configuration and avoid using "--tls-hostname-verifier=any".
There are currently no legacy QID mappings associated with this CVE.