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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.2 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N | redhat |
Weaknesses
- CWE-297 Improper Validation of Certificate with Host Mismatch
Affected Products
| Product | Versions |
|---|---|
keycloak |
|
Red Hat Build of KeycloakRed Hat | |
Red Hat build of Keycloak 26Red Hat | |
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.2Red Hat |
|
Red Hat build of Keycloak 26.2Red Hat |
|
Red Hat build of Keycloak 26.2Red Hat |
|
Red Hat Single Sign-On 7Red Hat |
References
- RHSA-2025:4335vendor-advisory
- RHSA-2025:4336vendor-advisory
- RHSA-2025:8672vendor-advisory
- RHSA-2025:8690vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-3501vdb-entry
- RHBZ#2358834issue-tracking
- https://github.com/keycloak/keycloak/issues/39350
- https://github.com/keycloak/keycloak/pull/39366
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.