CVE-2026-96453
Org.keycloak/keycloak-admin-cli: keycloak-admin-cli: kcadm custom truststore accepts arbitrary self-signed certificates
What happened?
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.
Affected software and versions
| Software | Version information | Fixed version |
|---|---|---|
| keycloak-rhel9-containerRed Hat | unaffected: 26.4-29 to < * | See vendor advisory |
| keycloak-rhel9-operator-bundle-containerRed Hat | unaffected: 26.4.17-2 to < * | See vendor advisory |
| keycloak-rhel9-operator-containerRed Hat | unaffected: 26.4-30 to < * | See vendor advisory |
| keycloak-admin-cliRed Hat | Default status: unaffected | See vendor advisory |
| rhbk/keycloak-rhel9Red Hat | Default status: unaffected | See vendor advisory |
| rhbk/keycloak-rhel9-operatorRed Hat | Default status: unaffected | See vendor advisory |
| keycloak-coreRed Hat | Default status: unaffected | See vendor advisory |
| keycloak-coreRed Hat | Default status: unaffected | See vendor advisory |
| jboss-eap-7/eap74-els-openjdk11-openshift-rhel8Red Hat | Default status: unaffected | See vendor advisory |
| jboss-eap-7/eap74-els-openjdk17-openshift-rhel8Red Hat | Default status: unaffected | See vendor advisory |
| jboss-eap-7/eap74-els-openjdk8-openshift-rhel8Red Hat | Default status: unaffected | See vendor advisory |
| keycloak-coreRed Hat | Default status: unaffected | See vendor advisory |
| keycloak-coreRed Hat | Default status: unaffected | See vendor advisory |
| candlepinRed Hat | Default status: unaffected | See vendor advisory |
| keycloak-admin-cliRed Hat | Default status: affected | See vendor advisory |
| keycloak-coreRed Hat | Default status: unaffected | See vendor advisory |
| rh-sso7-keycloakRed Hat | Default status: affected | See vendor advisory |
Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.
Is it being exploited?
This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.
How to respond
- Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
- Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
- Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.