Keycloak admin CLI: impersonate server
HighAI-generated2026-11-06
- CVE
- CVE-2026-96453
- Severity
- High (CVSS 8.0)
- Attack conditions
- Remotely, over the network · No account needed · A user must take some action
- Exploitation probability (EPSS)
- 0.2% (within 30 days; FIRST EPSS, 12 November 2026)
Summary
The Keycloak Admin CLI (kcadm) tool can be tricked into accepting any self-signed certificate when a custom truststore is used. An attacker on the network could pose as the Keycloak server and steal admin credentials.
Details
According to the NVD record, a flaw exists in the Keycloak Admin CLI kcadm utility, which administrators use to manage Keycloak servers from the command line. When a custom truststore is supplied, the tool will accept any self-signed certificate as long as the hostname matches, regardless of the certificate's authenticity.
This weakness enables a network attacker to masquerade as the legitimate Keycloak server, capture administrative credentials, and carry out unauthorized management actions on the server.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 5 November 2026 NVD record published
- 6 November 2026 This article was written