CVE-2026-96453

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

Published Nov 5, 2026 CVSS 3.1 · 8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The kcadm tool in the Keycloak Admin CLI incorrectly accepts any self‑signed certificate when a custom truststore is used and the hostname matches. This flaw allows an attacker to present a forged TLS connection that the tool will trust, enabling the attacker to intercept or craft administrative interactions with a Keycloak server. The result is that the attacker can obtain administrative credentials or otherwise manipulate the server with elevated privileges. This vulnerability represents a misuse of certificate trust and falls under the 295 OWASP weakness of using a self‑signed certificate without proper validation.

Affected Systems

Red Hat AMQ Broker 7, Red Hat Build of Keycloak, Red Hat Fuse 7, Red Hat JBoss Enterprise Application Platform 7 and 8, Red Hat Satellite 6, and Red Hat Single Sign-On 7 are all impacted. No specific affected product versions are listed in the data available, so any installation that includes the kcadm command and uses a custom truststore may be vulnerable.

Risk and Exploitability

The CVSS score is 8, indicating high severity. EPSS information is not available, but the flaw is active and can be leveraged over the network by an adversary who can mount a man‑in‑the‑middle against the Keycloak Admin CLI. The vulnerability is not yet listed in the CISA KEV catalog, but it exposes critical administrative capabilities and thus poses a significant risk to organization infrastructure.

Remediation

Vendor 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)


OpenCVE Recommended Actions

  • Configure the Keycloak server to use a certificate signed by a trusted Certificate Authority and ensure the kcadm tool uses that certificate rather than a custom truststore.
  • Restrict or disable the use of arbitrary custom truststores in kcadm to prevent the acceptance of self‑signed certificates.
  • Regularly check Red Hat security advisories and apply any forthcoming patch or update that addresses this certificate validation flaw.

Generated by OpenCVE AI on November 5, 2026 at 19:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.4::el9
cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
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.
Title Org.keycloak/keycloak-admin-cli: keycloak-admin-cli: kcadm custom truststore accepts arbitrary self-signed certificates
First Time appeared Redhat
Redhat amq Broker
Redhat build Keycloak
Redhat jboss Enterprise Application Platform
Redhat jboss Fuse
Redhat jbosseapxp
Redhat red Hat Single Sign On
Redhat satellite
Weaknesses CWE-295
CPEs cpe:/a:redhat:amq_broker:7
cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:jboss_enterprise_application_platform:7
cpe:/a:redhat:jboss_enterprise_application_platform:8
cpe:/a:redhat:jboss_fuse:7
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
cpe:/a:redhat:satellite:6
Vendors & Products Redhat
Redhat amq Broker
Redhat build Keycloak
Redhat jboss Enterprise Application Platform
Redhat jboss Fuse
Redhat jbosseapxp
Redhat red Hat Single Sign On
Redhat satellite
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-295

    Improper Certificate Validation

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 9, 2026, 4:50 PM
Reserved
Sep 23, 2026, 9:49 AM
Status
Awaiting Analysis
Published
Nov 5, 2026, 6:17 PM
Modified
Nov 9, 2026, 5:17 PM
Severity
Important
Public date
Nov 5, 2026, 12:00 AM