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

EcosystemPackageFixed inAdvisory
Mavenorg.keycloak:keycloak-services26.2.2GHSA-hw58-3793-42gg

Affected products (as reported)

VendorProductVersions
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