Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. CVE-2025-3501

CVE-2025-3501: Keycloak hostname verification

April 30, 2025 (updated May 13, 2025)

A flaw was found in Keycloak. By setting a verification policy to ‘ANY’, the trust store certificate verification is skipped, which is unintended.

References

  • access.redhat.com/errata/RHSA-2025:4335
  • access.redhat.com/errata/RHSA-2025:4336
  • access.redhat.com/security/cve/CVE-2025-3501
  • bugzilla.redhat.com/show_bug.cgi?id=2358834
  • github.com/advisories/GHSA-hw58-3793-42gg
  • github.com/keycloak/keycloak
  • github.com/keycloak/keycloak/commit/99ca24c832729075e04d8bc58666089268314272
  • github.com/keycloak/keycloak/security/advisories/GHSA-hw58-3793-42gg
  • nvd.nist.gov/vuln/detail/CVE-2025-3501

Code Behaviors & Features

Detect and mitigate CVE-2025-3501 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.2.2

Fixed versions

  • 26.2.2

Solution

Upgrade to version 26.2.2 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-297: Improper Validation of Certificate with Host Mismatch

Source file

maven/org.keycloak/keycloak-services/CVE-2025-3501.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:14 +0000.