CVE-2026-120091
Received Received - Intake

Command Injection in Temporal Server Worker Controller

Vulnerability report for CVE-2026-120091, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-02

Last updated on: 2026-11-02

Assigner: Temporal Technologies Inc.

Description

Temporal Server compiles a Worker Controller Instance module, go.temporal.io/auto-scaled-workers, into its Worker Service, and that module registers a compute provider named k8s whose function is to manage workers running in a Kubernetes cluster. The k8s provider built its Kubernetes client from the client configuration supplied in the caller's request rather than from operator configuration, and building and using that client could run a command of the caller's choosing on the Worker Service host, under the account the server process runs as. Two frontend operations reach the provider. CreateWorkerDeploymentVersion requires a namespace write role. ValidateWorkerDeploymentVersionComputeConfig is registered as a read-only namespace operation, so an authenticated caller holding only a read role in a single namespace can reach the provider through it, and that route does not require a worker deployment to already exist. Execution happens while the submitted configuration is validated, so no scaling decision, task arrival, or unusual request sequence is required. Because the Worker Service process holds the persistence credentials for every namespace in the cluster and the cluster's TLS material, the consequence reaches beyond the caller's namespace to the cluster as a whole. The provider is present in the official temporal-server binaries and container images for the affected releases. The control that keeps it unreachable is the compute provider allowlist, the dynamic configuration setting workercontroller.compute_providers.enabled. On Temporal Server 1.31.0 through 1.31.2 that allowlist does not deny by default: when the setting is unset the check is skipped and every registered compute provider is permitted, k8s included, so a stock deployment of those releases is exposed. On 1.31.3 and later 1.31 releases, and on 1.32.0 and later 1.32 releases, the allowlist denies by default, and a deployment is exposed only where k8s has been added to it. The 1.30 release line does not include the Worker Controller Instance module and is unaffected. To determine whether a deployment is affected, check the following together. The deployed Temporal Server version is in an affected range. The Worker Service is running, which it is in the default service set and therefore in a stock deployment. The effective value of workercontroller.compute_providers.enabled contains k8s, or, on 1.31.0 through 1.31.2 only, is unset; check both the global value and every namespace-constrained override, because an override can add k8s for a single namespace. And authorization is configured, meaning a real authorizer and claim mapper are in place; a deployment running with no authorizer already grants every caller unrestricted access to every namespace, so it has no namespace boundary for this to cross. Deployments that use a custom authorizer should also check whether it permits ValidateWorkerDeploymentVersionComputeConfig to callers without namespace write access. The separate per-namespace dynamic configuration setting workercontroller.enabled does not gate the affected path on any affected release.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-02
Last Modified
2026-11-02
Generated
2026-11-03
AI Q&A
2026-11-03
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 2 associated CPEs

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
CWE-749 The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CWE-1188 The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves the Temporal Server's Worker Controller Instance module, which registers a Kubernetes compute provider. The provider incorrectly uses the caller's request configuration to build a Kubernetes client, allowing the caller to execute commands on the Worker Service host under the server's account. This happens during configuration validation, bypassing normal scaling or task requirements.

Detection Guidance

To detect this vulnerability, check if your Temporal Server version is in the affected range (1.31.0 through 1.31.2 or 1.32.0 and later). Verify if the Worker Service is running and if the compute provider allowlist includes 'k8s' or is unset. Inspect the dynamic configuration setting 'workercontroller.compute_providers.enabled' for the presence of 'k8s'.

Impact Analysis

An attacker with read-only access to a namespace could exploit this to run arbitrary commands on the server host, potentially gaining control over cluster credentials, TLS materials, and persistence data across all namespaces. This could lead to data breaches, unauthorized access, or service disruption.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements in GDPR and HIPAA. It may result in data breaches, unauthorized processing, or loss of audit trails, potentially leading to regulatory penalties or legal consequences.

Mitigation Strategies

Upgrade Temporal Server to version 1.31.3 or later, or 1.32.0 or later. Ensure the 'workercontroller.compute_providers.enabled' setting explicitly denies 'k8s' by default. If using a custom authorizer, verify it restricts access to 'ValidateWorkerDeploymentVersionComputeConfig' for non-write roles.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-120091. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...