Bug 2539294 (CVE-2026-96453) - CVE-2026-96453 org.keycloak/keycloak-admin-cli: keycloak-admin-cli: kcadm custom truststore accepts arbitrary self-signed certificates
Summary: CVE-2026-96453 org.keycloak/keycloak-admin-cli: keycloak-admin-cli: kcadm cus...
Keywords:
Status: NEW
Alias: CVE-2026-96453
Deadline: 2026-12-22
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-23 09:50 UTC by OSIDB Bzimport
Modified: 2026-11-05 15:06 UTC (History)
52 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-23 09:50:26 UTC
A certificate validation flaw was found in the Keycloak Admin CLI kcadm within the org.keycloak.client.cli.util package. When an administrator uses the truststore option to specify a custom CA, the underlying HTTP client incorrectly enables TrustSelfSignedStrategy. This configuration causes the client to trust any self-signed certificate presented by the server, provided the hostname matches, effectively bypassing the intended trust material.
An attacker who can perform a Man-in-the-Middle MitM attack or redirect DNS can present a self-signed certificate for the Keycloak hostname. Successful exploitation allows the attacker to intercept administrative traffic, capture sensitive bearer tokens or credentials, and inject forged responses to execute privileged administrative commands on the Keycloak server.


Note You need to log in before you can comment on or make changes to this bug.