CVE-2025-3501
published high CVSS 3.1 · 8.2Org.keycloak.protocol.services: keycloak hostname verification
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | keycloak25.0.0 to < 25.* (affected · semver) · 26.0.0 to < 26.0.11 (affected · semver) · 26.1.0 to < 26.1.* (unknown · semver) · 26.2.0 to < 26.2.2 (affected · semver) · Other versions: unaffected | Version-specific | Not stated | redhat |
| Red Hat | — | keycloakRed Hat Build of Keycloak | Unaffected | Not required | redhat |
| Red Hat | — | Red Hat build of Keycloak 26 | Unaffected | Not required | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.0 · 26.0.11-2 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.0 · 26.0-12 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9-operatorRed Hat build of Keycloak 26.0 · 26.0-13 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-operator-bundleRed Hat build of Keycloak 26.2 · 26.2.5-1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat build of Keycloak 26.2 · 26.2-4 and later · Other versions: affected | Unaffected | Not stated | redhat |
Show 2 more entries
Description
A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| keycloak | 25.0.0 to < 25.* (affected · semver)26.0.0 to < 26.0.11 (affected · semver)26.1.0 to < 26.1.* (unknown · semver)26.2.0 to < 26.2.2 (affected · semver)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat Build of Keycloak | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0.11-2 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0-12 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0-13 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2.5-1 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-297 Improper Validation of Certificate with Host Mismatch
References
8- RHSA-2025:4335 https://access.redhat.com/errata/RHSA-2025:4335
- RHSA-2025:4336 https://access.redhat.com/errata/RHSA-2025:4336
- RHSA-2025:8672 https://access.redhat.com/errata/RHSA-2025:8672
- RHSA-2025:8690 https://access.redhat.com/errata/RHSA-2025:8690
- https://access.redhat.com/security/cve/CVE-2025-3501
- RHBZ#2358834 https://bugzilla.redhat.com/show_bug.cgi?id=2358834
- https://github.com/keycloak/keycloak/issues/39350
- https://github.com/keycloak/keycloak/pull/39366
Provider assertions
2redhat · cna
Org.keycloak.protocol.services: keycloak hostname verification
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c44a313007f440a224c81f33810d621e35bbc7e0a0e06df65c2d12850f04b474
- Ingested
- 23 Sep 2026, 08:47:45 UTC
- Source record
- Official CVE record