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

- Severity: High 8.2 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-04-29T20:45:29.507Z
- Modified: 2026-09-21T06:17:00.330Z
- Also known as: GHSA-hw58-3793-42gg
- Weaknesses: CWE-297
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: redhat

## Description

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

(As written by CVE List.)

## Affected

- keycloak: from 25.0.0 before 25.*; from 26.0.0 before 26.0.11; from 26.1.0 before 26.1.*; from 26.2.0 before 26.2.2
- Red Hat Red Hat build of Keycloak 26: no versions given
- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.0.11-2 before *; from 26.2.5-1 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.0-12 before *; from 26.2-4 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.0-13 before *; from 26.2-4 before *)
- rh-sso7-keycloak: no versions given
- org.keycloak:keycloak-services (Maven): before 26.2.2

## Every score

- redhat: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://access.redhat.com/errata/RHSA-2025:4335> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:4336> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2025:8672> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:8690> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2025-3501> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2358834> (issue-tracking, web)
- <https://github.com/keycloak/keycloak/issues/39350> (web)
- <https://github.com/keycloak/keycloak/pull/39366> (web)
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-hw58-3793-42gg> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3501> (advisory)
- <https://github.com/keycloak/keycloak/commit/99ca24c832729075e04d8bc58666089268314272> (web)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2025-3501](https://www.cve.org/CVERecord?id=CVE-2025-3501), CVE Terms of Use, modified 2026-09-21
- GitHub Advisory Database: [GHSA-hw58-3793-42gg](https://github.com/advisories/GHSA-hw58-3793-42gg), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2025-3501](https://nvd.nist.gov/vuln/detail/CVE-2025-3501), Public domain, modified 2026-09-21

---

Page: https://cve.day/CVE-2025-3501 · Whole record: https://cve.day/CVE-2025-3501.json · Rebuilt by cve.day 2026-11-25T22:58:57.129Z
