keycloak-admin-cli is vulnerable to Improper Certificate Validation
80
CVE Score
High
Improper Certificate Validation
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.
Upgrade org.keycloak:keycloak-admin-cli to the patched version. The fix removes TrustSelfSignedStrategy so certificates must chain to the configured trust material.
You are affected if you use a vulnerable version of org.keycloak:keycloak-admin-cli and you use kcadm with a custom truststore and a network attacker can impersonate the server using a hostname-matching self-signed certificate.
5.0.0 - 26.8.1
Fixed in 26.8.2keycloak-admin-cli is vulnerable to Improper Certificate Validation in versions 5.0.0 - 26.8.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.