CVE-2026-142246: KEDA through 2.21.1 Denial of Service via decryptClientKey Nil Pointer Dereference
KEDA through 2.21.1 contains a nil pointer dereference vulnerability in decryptClientKey in pkg/util/tlsconfig.go that allows namespace users to crash the keda-operator by supplying a non-PEM TLS client key with a keyPassword. Attackers who can edit a ScaledObject or ScaledJob and its TriggerAuthentication or Secret can trigger an unrecovered panic during scaler rebuild, stopping autoscaling cluster-wide.
Affected Software
Event History
Frequently Asked Questions
Who can trigger the denial of service?
A namespace user who can edit a ScaledObject or ScaledJob and its associated TriggerAuthentication or Secret can trigger it. The issue can stop autoscaling cluster-wide by crashing the keda-operator.
What input is required to exploit the issue?
The attacker must supply a non-PEM TLS client key together with a keyPassword. During scaler rebuild, this reaches decryptClientKey and causes an unrecovered nil pointer dereference.
How can teams tell whether they are affected?
The affected range is KEDA through version 2.21.1. An affected deployment may show the keda-operator crashing or panicking during scaler rebuild after TLS client-key configuration is updated with a non-PEM key and keyPassword.