CVE-2025-3501
8.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Summary
A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
25.0.0 < 25.* | affected | ||
26.0.0 < 26.0.11 | affected | ||
26.1.0 < 26.1.* | unknown | ||
26.2.0 < 26.2.2 | affected | ||
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0.11-2 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0-12 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.0 | 26.0-13 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2.5-1 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-4 < * | unaffected |
| Red Hat | Red Hat build of Keycloak 26.2 | 26.2-4 < * | unaffected |
Weaknesses
- CWE-297: Improper Validation of Certificate with Host Mismatch
Workarounds
Use the correct TLS configuration and avoid using "–tls-hostname-verifier=any".
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
References
- https://access.redhat.com/errata/RHSA-2025:4335
- https://access.redhat.com/errata/RHSA-2025:4336
- https://access.redhat.com/errata/RHSA-2025:8672
- https://access.redhat.com/errata/RHSA-2025:8690
- https://access.redhat.com/security/cve/CVE-2025-3501
- https://bugzilla.redhat.com/show_bug.cgi?id=2358834
- https://github.com/keycloak/keycloak/issues/39350
- https://github.com/keycloak/keycloak/pull/39366
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.