Vulnerability · Published Apr 29, 2025 · Assigned by redhat
CVE-2025-3501Org.keycloak.protocol.services: keycloak hostname verification
High 8.2
In plain English
A high-severity security flaw in keycloak. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.2High
Exploit odds (30 days)0.5%top 59.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.keycloak:keycloak-services | 26.2.2 | GHSA-hw58-3793-42gg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| keycloak | 25.0.0 – before 25.*26.0.0 – before 26.0.1126.2.0 – before 26.2.2 | |
| Red Hat | Red Hat Build of Keycloak | see references |
| Red Hat | Red Hat build of Keycloak 26 | see references |
| Red Hat | Red Hat build of Keycloak 26.0 | see references |
| Red Hat | Red Hat build of Keycloak 26.0 | see references |
| Red Hat | Red Hat build of Keycloak 26.0 | see references |
| Red Hat | Red Hat build of Keycloak 26.2 | see references |
| Red Hat | Red Hat build of Keycloak 26.2 | see references |
| Red Hat | Red Hat build of Keycloak 26.2 | see references |
| Red Hat | Red Hat Single Sign-On 7 | see references |
Weakness: CWE-297 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
References
- RHSA-2025:4335 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:4336 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8672 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:8690 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-3501 vdb-entry, x_refsource_REDHAT
- RHBZ#2358834 issue-tracking, x_refsource_REDHAT
- https://github.com/keycloak/keycloak/issues/39350
- https://github.com/keycloak/keycloak/pull/39366