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

State
Published
Severity
8.0 High
Published
Nov 5, 2026
Updated
Nov 9, 2026
Reserved
Sep 23, 2026

Read the record on cve.org

Description

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.

ProductVersions
Red Hat build of Keycloak 26.4 Red Hat26.4.17-2 and later Not Affected
Red Hat build of Keycloak 26.4 Red Hat26.4-29 and later Not Affected
Red Hat build of Keycloak 26.4 Red Hat26.4-30 and later Not Affected
Red Hat build of Keycloak 26.4.17 Red Hat
Red Hat build of Keycloak 26.4.17 Red Hat
Red Hat build of Keycloak 26.4.17 Red Hat
Red Hat build of Keycloak 26.6 Red Hat26.6.8-2 and later Not Affected
Red Hat build of Keycloak 26.6 Red Hat26.6-24 and later Not Affected
Red Hat build of Keycloak 26.6 Red Hat26.6-24 and later Not Affected
Red Hat build of Keycloak 26.6.8 Red Hat
Red Hat build of Keycloak 26.6.8 Red Hat
Red Hat build of Keycloak 26.6.8 Red Hat
Red Hat AMQ Broker 7 Red Hat
Red Hat Fuse 7 Red Hat
Red Hat JBoss Enterprise Application Platform 7 Red Hat
Red Hat JBoss Enterprise Application Platform 7 Red Hat
Red Hat JBoss Enterprise Application Platform 7 Red Hat
Red Hat JBoss Enterprise Application Platform 8 Red Hat
Red Hat JBoss Enterprise Application Platform Expansion Pack Red Hat
Red Hat Satellite 6 Red Hat
Red Hat Single Sign-On 7 Red Hat
Red Hat Single Sign-On 7 Red Hat
Red Hat Single Sign-On 7 Red Hat

Weaknesses

  • CWE-295 Improper Certificate Validation

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.