PoC Monitor
← All CVEs
CVE-2025-3501published 29 Apr 2025 20:45 UTCData: JSON · API

Red Hat Build of Keycloak

Org.keycloak.protocol.services: keycloak hostname verification

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

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-297
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

  • >= 25.0.0, < 25.*
  • >= 26.0.0, < 26.0.11
  • >= 26.2.0, < 26.2.2

Fixed in 25.*, 26.0.11, 26.2.2

Red Hat Red Hat build of Keycloak 26.0

    Fixed in 26.0.11-2

    Red Hat Red Hat build of Keycloak 26.0

      Fixed in 26.0-12

      Red Hat Red Hat build of Keycloak 26.0

        Fixed in 26.0-13

        Red Hat Red Hat build of Keycloak 26.2

          Fixed in 26.2.5-1

          Red Hat Red Hat build of Keycloak 26.2

            Fixed in 26.2-4

            Red Hat Red Hat build of Keycloak 26.2

              Fixed in 26.2-4

              Mitigation

              Upgrade the affected product to 25.* or 26.0.11 or 26.2.2 or later.

              Upgrade Red Hat build of Keycloak 26.0 to 26.0.11-2 or later.

              Upgrade Red Hat build of Keycloak 26.0 to 26.0-12 or later.

              Upgrade Red Hat build of Keycloak 26.0 to 26.0-13 or later.

              Upgrade Red Hat build of Keycloak 26.2 to 26.2.5-1 or later.

              Upgrade Red Hat build of Keycloak 26.2 to 26.2-4 or later.

              Upgrade Red Hat build of Keycloak 26.2 to 26.2-4 or later.

              Workaround

              Use the correct TLS configuration and avoid using "--tls-hostname-verifier=any".

              References

              2 more

              Timeline

              Days relative to CVE publication
              -2t=0+2+4+6+8CVE published29 Apr 2025 · t = 0

              No public PoC found yet; not in CISA KEV.

              PoC repositories

              Found on GitHub.

              No PoC repositories found yet.