Intel

AIKIDO-2026-275006

keycloak-admin-cli is vulnerable to Improper Certificate Validation

CVE-2026-96453Published 4 days ago
November 16, 2026

80

CVE Score

High

Improper Certificate Validation

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade org.keycloak:keycloak-admin-cli to the patched version. The fix removes TrustSelfSignedStrategy so certificates must chain to the configured trust material.

Who does this affect?

You are affected if you use a vulnerable version of org.keycloak:keycloak-admin-cli and you use kcadm with a custom truststore and a network attacker can impersonate the server using a hostname-matching self-signed certificate.

Versions

5.0.0 - 26.8.1

Fixed in 26.8.2

Background info

keycloak-admin-cli is vulnerable to Improper Certificate Validation in versions 5.0.0 - 26.8.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea