{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.21.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "43b5dfcd7a0a8a08e328b65667464986f60ee12c"
            }
          ],
          "repo": "https://github.com/kedacore/keda",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142246.json"
  },
  "details": "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.",
  "id": "CVE-2026-142246",
  "modified": "2026-12-02T17:45:58.322736740Z",
  "published": "2026-12-02T16:49:55.890Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142246.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/kedacore/keda"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/kedacore/keda/blob/v2.21.1/pkg/scaling/cache/scalers_cache.go#L319-L333"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/kedacore/keda/blob/v2.21.1/pkg/util/tls_config.go#L174-L180"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142246"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/keda-through-2.21.1-denial-of-service-via-decryptclientkey-nil-pointer-dereference"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H",
      "type": "CVSS_V4"
    }
  ],
  "summary": "KEDA through 2.21.1 Denial of Service via decryptClientKey Nil Pointer Dereference"
}