# CVE-2026-142246: KEDA through 2.21.1 Denial of Service via decryptClientKey Nil Pointer Dereference

Source: https://aplosec.si/cve/CVE-2026-142246/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142246

High 8.3 · Reported · No fix listed · CWE-476 · Go

# KEDA through 2.21.1 Denial of Service via decryptClientKey Nil Pointer Dereference

CVE-2026-142246 · published 2026-12-02

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). No fixed release is listed yet.

## Summary

CVE-2026-142246 affects KEDA (Go) <= 2.21.1: Denial of Service via decryptClientKey Nil Pointer Dereference (CWE-476). No fixed release is listed. CVSS 4.0 base score 8.3 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

KEDA through 2.21.1 contains a nil pointer dereference vulnerability in decryptClientKey in pkg/util/tls_config.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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/keda-through-2.21.1-denial-of-service-via-decryptclientkey-nil-pointer-dereference](https://www.vulncheck.com/advisories/keda-through-2.21.1-denial-of-service-via-decryptclientkey-nil-pointer-dereference)

- [Vulnerable codehttps://github.com/kedacore/keda/blob/v2.21.1/pkg/util/tls_config.go#L174-L180](https://github.com/kedacore/keda/blob/v2.21.1/pkg/util/tls_config.go#L174-L180)

- [Vulnerable codehttps://github.com/kedacore/keda/blob/v2.21.1/pkg/scaling/cache/scalers_cache.go#L319-L333](https://github.com/kedacore/keda/blob/v2.21.1/pkg/scaling/cache/scalers_cache.go#L319-L333)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142246](https://www.cve.org/CVERecord?id=CVE-2026-142246)

**Severity:** High 8.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142246)

**Package:** KEDA

**Ecosystem:** Go

**Affected:** <= 2.21.1

**Fixed:** None

**Weakness:** CWE-476

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
