GitHub Advisory Database
GHSA-hw58-3793-42gg
Keycloak hostname verification
Details
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 versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | All versions before 26.2.2 (fixed in 26.2.2) |
References
- 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/issues/39350
- https://github.com/keycloak/keycloak/pull/39366
- https://github.com/keycloak/keycloak/commit/99ca24c832729075e04d8bc58666089268314272
- https://access.redhat.com/errata/RHSA-2025:4335
- https://access.redhat.com/errata/RHSA-2025:4336
- https://access.redhat.com/security/cve/CVE-2025-3501
- https://bugzilla.redhat.com/show_bug.cgi?id=2358834
- https://github.com/keycloak/keycloak