KEDA
CVE-2026-77524 · GHSA-637c-6jxx-4rwm
Namespace-to-cluster credential boundary failure
Critical, 9.9 · Public source snapshot: November 12, 2026
Original portfolio report · Source reference · Public advisory · Source reference · Source reference
Shared credits and the scope of my investigation are documented below.
A tenant authorized to configure KEDA authentication in one namespace should not gain the operator's more powerful Kubernetes identity. In affected configurations, the HashiCorp Vault integration can instead present an operator credential to a destination selected through tenant-controlled configuration. The immediate security failure is credential disclosure across the namespace boundary; subsequent access depends on the operator's actual permissions and token restrictions.
I reviewed the official KEDA 2.20.2 source, representative earlier release snapshots, and the relevant vendored Vault client. I did not deploy a cluster, execute a trigger, or independently reproduce the advisory's reported runtime results.
| Public record | Status checked November 11, 2026 |
|---|---|
| Identifiers | CVE-2026-77524; GHSA-637c-6jxx-4rwm |
| Advisory affected range | ≤ 2.20.2 |
| Patched version | 2.21.0 per the official release notes; the GHSA field still lists none |
| Severity | Critical, CVSS 3.1 9.9 |
| Weaknesses | CWE-269; CWE-918 |
| Published | September 23, 2026 |
| Portfolio credit | Charles Vosburgh IV (the-vibe-dev), Reporter; other contributors have Finder credits |
The identifiers, severity, affected range and credits come from the public KEDA advisory. The fixed release is identified in the official 2.21.0 release notes.
KEDA runs an operator that resolves authentication material for event-driven autoscaling. A namespaced TriggerAuthentication supplies configuration for integrations such as Vault. The operator is a separate security principal: permission to create a tenant configuration is not permission to use every credential available inside the operator process.
The relevant prerequisites include permission to create KEDA authentication and scaling resources, reconciliation of that configuration, availability of an operator ServiceAccount credential, and network reachability of the configured destination. Operator deployment settings, admission controls and tenant permissions affect exposure. This is not an unauthenticated Kubernetes API flaw, and deployment prevalence was not measured.
In KEDA 2.20.2, pkg/scaling/resolver/scale_resolvers.go, resolveAuthRef, hands the selected authentication configuration to HashicorpVaultHandler. Its implementation in pkg/scaling/resolver/hashicorpvault_handler.go separates neither destination authorization nor credential ownership from the tenant-supplied integration settings.
Initialize sets the Vault client's address from that configuration. The Kubernetes authentication branch in token retains a fallback to a credential mounted in the operator pod. The read passes through readKubernetesServiceAccountProjectedToken in pkg/scaling/resolver/k8s_validator.go, whose guards check file type, size and whether the token has a ServiceAccount-shaped subject. Those checks constrain arbitrary file reads; they do not establish that the requesting tenant is entitled to use that identity.
The vendored Vault API 1.23.0, Logical.WriteWithContext in vendor/github.com/hashicorp/vault/api/logical.go, serializes the supplied authentication data for the configured client destination. Later response validation and renewal handling do not authorize the credential before this transmission. This is why fixing token shape alone does not fix the identity boundary.
History inspection shows that a missing-credential fallback was added by a panic fix and is present in release 2.13.0. The same boundary remains in inspected 2.20.0 and 2.20.2 snapshots after token-reading hardening. This establishes representative persistence, not an independently verified first affected release or a check of every intermediate version. The broader affected range above remains the advisory's range.
The source supports exposure of an operator credential outside its intended trust domain. The shipped config/rbac/role.yaml and role_binding.yaml give that operator a cluster-scoped role, including broad read access and selected mutation privileges. An exposed identity can therefore have materially greater authority than a tenant identity.
Actual consequences must be evaluated against deployed RBAC, credential lifetime and audience, API reachability, and admission policy. The advisory reports cross-namespace access in its test environment; this review does not establish universal cluster takeover, node compromise, or identical permissions in customized installations. Network isolation can reduce reachability but does not repair the underlying authorization decision.
The linked public advisory contains upstream reproduction material. No executable PoC, credential-capture listener, payload, or exploitation sequence is included here. No runtime observations are claimed from this source review.
Regression validation remains unperformed: it should confirm legitimate tenant authentication works while tenant configuration cannot select the operator identity or send protected credentials to unauthorized destinations.
Upgrade to KEDA 2.21.0 or later, following the ServiceAccount token audience migration guidance. The official release notes identify CVE-2026-77524 as fixed through ServiceAccount token audience enforcement. The GHSA's patched-version field still differs from those release notes. I have not independently tested the released fix.
When assessing tenant isolation, review token audience restrictions, operator RBAC, credential ownership, and destination controls together. Tenant permission to configure an integration should not grant unrestricted use of the operator's identity.
While planning an upgrade, restrict untrusted creation of relevant KEDA resources, apply destination/egress controls, review operator RBAC for least privilege, and investigate unexpected authentication traffic. These are proposed defensive controls, not tested substitutes for a shipped fix.
CVE-2026-77524 concerns reuse of a privileged operator identity through tenant-controlled integration configuration. KEDA 2.20.2 source retains the failed credential-and-destination authorization boundary. The public advisory credits me as a Reporter. Official release notes identify the fix in 2.21.0; deployments should review the migration requirements and their own exposure.