{"id":"CVE-2025-3501","published":"2025-04-29T20:45:29Z","modified":"2026-09-21T05:27:47Z","title":"Org.keycloak.protocol.services: keycloak hostname verification","vendor":"Red Hat","product":"Red Hat Build of Keycloak","tier":"tail","description":{"text":"A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00479,"percentile":0.42214,"provenance":"source"},"cwes":[{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:4335","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:4336","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:8672","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:8690","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-3501","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2358834","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/keycloak/keycloak/issues/39350","tags":[]},{"url":"https://github.com/keycloak/keycloak/pull/39366","tags":[]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.44},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":[">= 25.0.0, < 25.*",">= 26.0.0, < 26.0.11",">= 26.2.0, < 26.2.2"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.0","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]}],"workarounds":{"items":["Use the correct TLS configuration and avoid using \"--tls-hostname-verifier=any\"."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-30T15:54:12.219389Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<26.2.2"],"patched":["26.2.2"],"from":["GHSA-hw58-3793-42gg"],"provenance":"source"}],"summary":{"text":"A flaw in the Org.keycloak.protocol.services component of Red Hat Build of Keycloak causes the hostname verification policy to be effectively disabled when it is set to 'ALL', so that trust store certificate verification is skipped when it should not be. An attacker with network access can exploit this without authentication or user interaction, with the consequence that connections may be accepted from hosts whose certificates do not match the expected hostname.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:01Z"},"euvd":{"id":"EUVD-2025-12660","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-12390","published":"2025-10-28","fixed":"26.0.0","kev":false},{"cve":"CVE-2024-10270","published":"2024-11-25","fixed":"26.0.6","kev":false},{"cve":"CVE-2025-1391","published":"2025-02-17","fixed":"26.1.3","kev":false,"link":{"from":"CVE-2025-1391","to":"CVE-2025-3501","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-services","fromFixed":"26.1.3","toFixed":"26.2.2","daysApart":71}]}},{"cve":"CVE-2025-3501","published":"2025-04-29","fixed":"26.2.2","kev":false},{"cve":"CVE-2025-3910","published":"2025-04-29","fixed":"26.2.2","kev":false},{"cve":"CVE-2025-12110","published":"2025-10-23","fixed":"26.2.3","kev":false},{"cve":"CVE-2025-7365","published":"2025-07-10","fixed":"26.2.6","kev":false}],"package":"Maven:org.keycloak:keycloak-services"}}