high8.2
CVE-2025-3501
Keycloak hostname verification
Impact
A flaw was found in Keycloak. By setting a verification policy to 'ANY', the trust store certificate verification is skipped, which is unintended.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | < 26.2.2 | 26.2.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-hw58-3793-42gg
- https://github.com/keycloak/keycloak/security/advisories/GHSA-hw58-3793-42gg
- https://nvd.nist.gov/vuln/detail/CVE-2025-3501
- https://github.com/keycloak/keycloak/commit/99ca24c832729075e04d8bc58666089268314272