PoC Monitor
← All CVEs
CVE-2026-96453published 5 Nov 2026 17:15 UTCData: JSON · API

Red Hat build of Keycloak 26.4

Org.keycloak/keycloak-admin-cli: keycloak-admin-cli: kcadm custom truststore accepts arbitrary self-signed certificates

A flaw was found in the Keycloak Admin CLI kcadm tool, which is used by administrators to manage Keycloak servers from the command line. When a custom truststore is provided to verify the server identity, the tool incorrectly accepts any self-signed certificate as long as the hostname matches. This allows a network attacker to impersonate the Keycloak server, steal administrative credentials, and perform unauthorized management actions.

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

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Red Hat Red Hat build of Keycloak 26.4

    Fixed in 26.4.17-2

    Red Hat Red Hat build of Keycloak 26.4

      Fixed in 26.4-29

      Red Hat Red Hat build of Keycloak 26.4

        Fixed in 26.4-30

        Red Hat Red Hat build of Keycloak 26.6

          Fixed in 26.6.8-2

          Red Hat Red Hat build of Keycloak 26.6

            Fixed in 26.6-24

            Red Hat Red Hat build of Keycloak 26.6

              Fixed in 26.6-24

              Mitigation

              Upgrade Red Hat build of Keycloak 26.4 to 26.4.17-2 or later.

              Upgrade Red Hat build of Keycloak 26.4 to 26.4-29 or later.

              Upgrade Red Hat build of Keycloak 26.4 to 26.4-30 or later.

              Upgrade Red Hat build of Keycloak 26.6 to 26.6.8-2 or later.

              Upgrade Red Hat build of Keycloak 26.6 to 26.6-24 or later.

              Upgrade Red Hat build of Keycloak 26.6 to 26.6-24 or later.

              Workaround

              Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. --- CME Mitigation Guidance (2026-11-06) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to disable TrustSelfSignedStrategy in the Keycloak Admin CLI HTTP client configuration and enforce validation strictly against the configured custom truststore: upgrade to Red Hat build of Keycloak 26.4.17 / 26.6.8 (or the corresponding fixed Red Hat builds), which disable TrustSelfSignedStrategy in the HTTP client and enforce certificate verification against the provided truststore, closing all 2 injection vectors (Man-in-the-Middle network interception, DNS redirection). Until patched, this is a concern on Administrators executing kcadm with a custom truststore option, so Avoid executing kcadm with custom truststores across untrusted networks, and restrict network paths and DNS resolution between client hosts and Keycloak endpoints. As a compensating measure, Cryptographically verify DNS response authenticity using DNSSEC validation to prevent DNS redirection to unauthorized servers and Isolate administrative traffic between kcadm clients and Keycloak servers into dedicated VLANs or subnets to prevent network interception. These controls limit blast radius and contain exploitation, but they do not fix the underlying certificate validation defect — apply the upstream patch to fully remediate. Highest-impact CME: CME-203 Network Segmentation (VLANs/Subnets) (medium)

              References

              1 more

              Timeline

              Days relative to CVE publication
              -2t=0+2+4+6+8CVE published5 Nov 2026 · t = 0

              No public PoC found yet; not in CISA KEV.

              PoC repositories

              Found on GitHub.

              No PoC repositories found yet.