Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain network interception position on admin's path
-
DeliveryPresent self-signed cert matching Keycloak hostname
-
Exploitkcadm wrongly accepts cert despite custom truststore
-
ExecutionCapture administrator credentials and session
-
ImpactPerform unauthorized Keycloak management actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Exploitation requires three concrete conditions drawn from the description: (1) the kcadm Admin CLI must be used with a custom truststore configured to verify server identity - this is the exact flawed code path, since the tool then accepts any self-signed certificate whose hostname matches; (2) the attacker must hold an active man-in-the-middle network position on the path between the administrator and the Keycloak server (reflected in AC:H); and (3) an administrator must actually invoke kcadm against the intercepted endpoint (UI:R). Limiting factors: the attack is not possible against the server directly and does nothing on its own - it depends entirely on an admin-initiated CLI session plus attacker interception, so a remote attacker with no network foothold cannot trigger it. Authentication: CVSS PR:N indicates no attacker privileges are required; the victim administrator, however, supplies their own credentials, which is the asset stolen. |
| Impact | This is a credible but conditional man-in-the-middle vulnerability rather than a mass-exploitable server flaw. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N, base 8.0) tells a consistent story: network-reachable (AV:N) and requiring no attacker privileges (PR:N), but gated by high attack complexity (AC:H, reflecting the need to occupy a network interception position and present a self-signed cert whose hostname matches) and by user interaction (UI:R - an administrator must actually run kcadm against the attacker-controlled endpoint). The scope change (S:C) and C:H/I:H capture that compromise of the CLI session yields the administrator's Keycloak credentials and lets the attacker perform management actions on a separate authorization-critical system. Red Hat's own priority signal is 'this_week' (not act_now/emergency). No EPSS score, no CISA KEV listing, and no public exploit were supplied in the input, which is consistent with a recently reported, not-yet-weaponized issue. The practical risk is meaningful because Keycloak administers authentication for many downstream systems, but the AC:H + UI:R gating means this is a targeted-opportunity flaw (attacker must already be positioned on the admin's network path and the admin must initiate a kcadm connection), not a broadly scannable, drive-by condition. Note the signal gap: EPSS and KEV data are absent from the input rather than confirmed-low, so exploitation probability cannot be quantified here. |
| Exploit ScenarioDerived | An administrator configures kcadm with a custom truststore and runs it to manage a Keycloak server over a network path an attacker controls (e.g., shared LAN, compromised router, or hostile gateway). The attacker intercepts the connection and presents a self-signed certificate bearing the expected hostname; because kcadm accepts it despite the custom truststore, the admin's credentials and session flow to the attacker, who then issues authorized management commands. No public exploit was identified in the input, and the AC:H positioning plus the requirement that the admin initiate the session limit opportunistic use. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
The Keycloak Admin CLI (kcadm) can be induced to trust an attacker-controlled TLS endpoint, allowing a network man-in-the-middle to capture administrator credentials and issue unauthorized management operations against the Keycloak server. The defect sits in the code path used when an administrator supplies a custom truststore, where any self-signed certificate is accepted as long as the hostname matches; it affects the Red Hat build of Keycloak and the Red Hat products that bundle the tool, including Red Hat Single Sign-On 7, JBoss EAP 7 and 8, AMQ Broker 7, Fuse 7, Satellite 6 and the EAP Expansion Pack. Exploitation is conditional - the attacker must already hold a man-in-the-middle position between the administrator and the server (CVSS AC:H) and the administrator must actually invoke kcadm against the intercepted endpoint (UI:R, PR:N for the attacker) - and no public exploit identified at time of analysis.
RemediationAI
No vendor-released patch or exact fixed version is identified in the available data; remediation status and fixed build versions must be confirmed against the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-96453 and the tracking Bugzilla at https://bugzilla.redhat.com/show_bug.cgi?id=2539294, and affected Red Hat product streams (Red Hat build of Keycloak, RH-SSO 7, JBoss EAP 7 and 8, AMQ Broker 7, Fuse 7, Satellite 6, EAP Expansion Pack) should be tracked there for errata. Because the flawed behavior is confined to the custom-truststore path, the practical interim measure is to avoid invoking kcadm with a custom truststore against endpoints reached over untrusted or shared networks until a fixed build is available - the trade-off is that this removes the ability to pin a private CA for CLI connections, so it should be paired with running kcadm only from management networks and restricting the path between the administrative host and the Keycloak server so that interception is not feasible. Note that the supplied sources state no vendor workaround, so the advisory should be treated as the authoritative source for both the fix and any official mitigation.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
kcadm is the Java-based administrative command-line client shipped with Keycloak and its downstream Red Hat distributions; it connects to the server over HTTPS and, when a custom truststore is configured, uses that store to validate the server certificate chain. The weakness is CWE-295 (Improper Certificate Validation): in that custom-truststore path the tool performs hostname matching but fails to enforce the chain-of-trust portion of the check, so a self-signed certificate whose subject/SAN matches the expected hostname is accepted even though no trusted CA issued it. Because an accepted certificate is the only barrier to a TLS man-in-the-middle, an attacker who can intercept the connection can present such a certificate, terminate TLS with the administrator's client, and relay or capture the traffic - including the administrator's credentials and the management REST calls kcadm issues. The assessed vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N matches this picture: the attacker needs no privileges of their own (PR:N) but must occupy a privileged network position (AC:H) and rely on an administrator initiating a CLI session (UI:R); the scope change (S:C) reflects that stolen administrator credentials give control over the managed Keycloak realm, which is a different security authority from the CLI component itself, with high confidentiality and integrity impact and no direct availability impact. The flaw does not affect the Keycloak server endpoint on its own and cannot be triggered without an admin-initiated CLI connection that the attacker has intercepted; the underlying trigger details beyond the custom-truststore and hostname-match conditions are not described in the available sources, and the supplied CPE entries carry wildcard versions, so no version ranges can be derived from them.
Know when Red Hat Build Of Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
MitM positioning drives AC:H and AV:N; attacker needs no privileges (PR:N) but the admin must run kcadm (UI:R); compromise of the managed server from the CLI gives S:C with C:H/I:H and no availability impact.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Executive ViewAI
Red Hat Keycloak's Admin CLI (kcadm) contains a high-severity flaw that could allow a man-in-the-middle to steal administrator credentials and perform unauthorized management actions when kcadm is used with a custom truststore. This affects multiple Red Hat products bundling the tool, potentially exposing sensitive administrative access across the environment. Leadership should prioritize remediation due to the high impact on confidentiality and integrity of identity management systems.
No vendor-released patch identified at time of analysis. Interim mitigations: avoid using kcadm with custom truststores; instead, use the default truststore or connect through a secure, trusted channel (e.g., VPN or bastion host). Enforce network segmentation and monitoring to detect man-in-the-middle attempts. Consider using a reverse proxy with strict TLS validation for administrative access.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
EUVD-2026-117609
GHSA-p934-9hpw-698j
NVD
CVE.org
EPSS
Exploit-DB