GitHub Advisoryadvisory · Maven
GHSA-hw58-3793-42gg Keycloak hostname verification
HIGH
Official page ↗
- Aliases
- CVE-2025-3501
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-services
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- Weaknesses
- CWE-297
- Reviewed
- 2025-04-30
Affected packages
• Maven org.keycloak:keycloak-services: < 26.2.2 → fixed in 26.2.2
Description
A flaw was found in Keycloak. By setting a verification policy to 'ANY', the trust store certificate verification is skipped, which is unintended.
Related
Alias · CVE (1)
- CVE-2025-3501 A flaw was found in Keycloak. vulnerability
Weakness · CWE (1)
- CWE-297 Improper Validation of Certificate with Host Mismatch weakness
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-hw58-3793-42gg web
- https://nvd.nist.gov/vuln/detail/CVE-2025-3501 advisory
- https://github.com/keycloak/keycloak/issues/39350 web
- https://github.com/keycloak/keycloak/pull/39366 web
- https://github.com/keycloak/keycloak/commit/99ca24c832729075e04d8bc58666089268314272 web
- https://access.redhat.com/errata/RHSA-2025:4335 web
- https://access.redhat.com/errata/RHSA-2025:4336 web
- https://access.redhat.com/security/cve/CVE-2025-3501 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2358834 web
- https://github.com/keycloak/keycloak package