CVE-2025-3501: Org.keycloak.protocol.services: keycloak hostname verification

Published Apr 10, 2025
·
Updated

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

Other sources

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

GitHub

Hostname verification issue that causes the trust store to trust all certificates. By setting the verification policy to 'ALL' not only the hostname check is skipped, but also the trust store certificate verification, which is an unintended side effect.

Red Hat

Affected Software

3 affected componentsFixes available
Keycloak Keycloak
maven/org.keycloak:keycloak-services<26.2.2
26.2.2
IBM Concert Software<=1.0.0-2.1.0

Event History

Apr 10, 2025
Data Sourced
via Red Hat·12:30 PM
DescriptionSeverityAffected Software
Apr 29, 2025
CVE Published
via MITRE·08:45 PM
Data Sourced
via MITRE·08:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeakness
Apr 30, 2025
Advisory Published
via GitHub·05:24 PM
Dec 22, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-3501?

CVE-2025-3501 has been rated as a critical severity vulnerability due to its potential to allow unauthorized access.

2

How do I fix CVE-2025-3501?

To fix CVE-2025-3501, upgrade to Keycloak version 26.2.2 or later.

3

What causes CVE-2025-3501?

CVE-2025-3501 is caused by a flaw in Keycloak where setting a verification policy to 'ALL' skips the trust store certificate verification.

4

What are the risks associated with CVE-2025-3501?

The risks associated with CVE-2025-3501 include the ability for attackers to impersonate trusted services by exploiting weak certificate validation.

5

Is CVE-2025-3501 present in all Keycloak versions?

CVE-2025-3501 affects specific versions of Keycloak prior to the fix provided in version 26.2.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203