Description
Temporal Server compiles a Worker Controller Instance module into its Worker Service, and that module registers a compute provider named subprocess whose function is to launch a worker by running a command on the machine hosting the Worker Service. The program name and the argument vector that provider executes are taken from the compute provider configuration supplied in the caller's request rather than from operator configuration. An authenticated caller holding only a write role in a single namespace can therefore configure a worker deployment version so that the Worker Service executes a command of the caller's choosing on its own host, under the account the server process runs as. Execution is immediate rather than deferred: the configuration handler invokes every provider using the invoke strategy directly after validating the submitted specification, 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 only control that can keep it unreachable is the compute provider allowlist, the per-namespace dynamic configuration setting workercontroller.compute_providers.enabled, and that control does not deny by default: its default value is an unset list, and the allowlist check is skipped entirely when the value is unset, so every registered compute provider is permitted, this one included. To determine whether a deployment is affected, check the following together. The deployed Temporal Server version is 1.31.0 or later and earlier than 1.31.3. The Worker Service is running, which it is in the default service set and therefore in a stock deployment. The effective per-namespace value of workercontroller.compute_providers.enabled is either unset or contains subprocess. 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. Note that the separate per-namespace dynamic configuration setting workercontroller.enabled does not gate the affected path. It defaults to false, and a deployment that has never set it in any namespace is still affected, which was confirmed by running an affected release with no value for that setting present anywhere in dynamic configuration. To look for a compute configuration that is already attached, call DescribeWorkerDeploymentVersion for each worker deployment version in each namespace and check whether any scaling group's compute provider type is subprocess.
Published: 2026-09-21
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Remote Command Execution
Action: Immediate Patch
AI Analysis

Impact

Temporal Server includes a Worker Controller Instance module that registers a compute provider named subprocess. The subprocess provider launches a worker by executing a program and argument vector supplied directly from the caller’s request, rather than from operator configuration. An authenticated caller with a write role in a single namespace can therefore instruct the Worker Service to run any command it chooses on the server host, under the account the Temporal Server process runs as. The command executes immediately during the configuration handling phase, so no scaling trigger or special request sequence is required. Because the Worker Service holds persistence credentials for every namespace and the cluster’s TLS material, this privilege extends beyond the attacker’s namespace and can jeopardize cluster‑wide secrets and services.

Affected Systems

The flaw affects Temporal Server versions 1.31.0, 1.31.1, and 1.31.2 when deployed with the default workercontroller.compute_providers.enabled setting unset or containing subprocess. The 1.30 release line is unaffected, and the 1.32.0 and 1.31.3 releases include a patch that changes the compute provider allowlist to deny‑by‑default. The vulnerability is present only when the per‑namespace dynamic configuration setting workercontroller.compute_providers.enabled is unset, empty, or includes subprocess and when an authorizer is present, allowing the caller to gain write access to a namespace.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. EPSS is not available, but the attack is straightforward: a client must be authenticated with a write role in a namespace, which many deployments grant to developers. The exploit can be carried out with a single API request and does not require any unusual network traffic or scaling events. Although the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, the combination of high impact, easy exploitation path, and cluster‑wide consequences warrants urgent attention.

Generated by OpenCVE AI on September 21, 2026 at 12:50 UTC.

Remediation

Vendor Solution

Upgrade to Temporal Server 1.32.0 or 1.31.3. Both pin a Worker Controller Instance module revision whose compute provider allowlist denies by default instead of permitting every registered provider. Operators who cannot upgrade immediately can apply the workaround below, which closes the same path without waiting for a release. The 1.30 release line does not depend on the Worker Controller Instance module at all and is unaffected. Note that the change shipped in 1.32.0 and 1.31.3 makes the allowlist deny by default and does not change where the executed command comes from: for a compute provider an operator does deliberately add to the allowlist, the program name and argument vector still arrive in the caller's request.


Vendor Workaround

Set the per-namespace dynamic configuration setting workercontroller.compute_providers.enabled to an explicit list naming only the compute providers the deployment intends to permit, omitting subprocess. An explicit empty list denies every compute provider. Leaving the setting unset is what permits everything, because the allowlist check is skipped when no value is configured; giving the setting any explicit value, an empty list included, makes the check run and denies any provider absent from the list. The request is then rejected with InvalidArgument before the provider runs. This is dynamic configuration, so it takes effect without restarting the server and is available during an incident rather than only at a maintenance window. Verify the effective value for every namespace in scope, including any namespace-constrained entries that could override a cluster-wide value.


OpenCVE Recommended Actions

  • Upgrade Temporal Server to version 1.32.0 or 1.31.3
  • Set the dynamic configuration setting workercontroller.compute_providers.enabled to an explicit empty list or to a list that names only the compute providers required for the deployment
  • Verify that the new setting is applied in all namespaces, including any overrides, and confirm that proper authorization controls are in place

Generated by OpenCVE AI on September 21, 2026 at 12:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 21 Sep 2026 11:45:00 +0000

Type Values Removed Values Added
Description Temporal Server compiles a Worker Controller Instance module into its Worker Service, and that module registers a compute provider named subprocess whose function is to launch a worker by running a command on the machine hosting the Worker Service. The program name and the argument vector that provider executes are taken from the compute provider configuration supplied in the caller's request rather than from operator configuration. An authenticated caller holding only a write role in a single namespace can therefore configure a worker deployment version so that the Worker Service executes a command of the caller's choosing on its own host, under the account the server process runs as. Execution is immediate rather than deferred: the configuration handler invokes every provider using the invoke strategy directly after validating the submitted specification, 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 only control that can keep it unreachable is the compute provider allowlist, the per-namespace dynamic configuration setting workercontroller.compute_providers.enabled, and that control does not deny by default: its default value is an unset list, and the allowlist check is skipped entirely when the value is unset, so every registered compute provider is permitted, this one included. To determine whether a deployment is affected, check the following together. The deployed Temporal Server version is 1.31.0 or later and earlier than 1.31.3. The Worker Service is running, which it is in the default service set and therefore in a stock deployment. The effective per-namespace value of workercontroller.compute_providers.enabled is either unset or contains subprocess. 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. Note that the separate per-namespace dynamic configuration setting workercontroller.enabled does not gate the affected path. It defaults to false, and a deployment that has never set it in any namespace is still affected, which was confirmed by running an affected release with no value for that setting present anywhere in dynamic configuration. To look for a compute configuration that is already attached, call DescribeWorkerDeploymentVersion for each worker deployment version in each namespace and check whether any scaling group's compute provider type is subprocess.
Title Temporal Server worker deployment compute provider executes a caller-supplied command on the Worker Service host
First Time appeared Temporal
Temporal temporal
Weaknesses CWE-1188
CWE-749
CWE-78
CPEs cpe:2.3:a:temporal:temporal:*:*:*:*:*:*:*:*
Vendors & Products Temporal
Temporal temporal
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Temporal Temporal
cve-icon MITRE

Status: PUBLISHED

Assigner: Temporal

Published:

Updated: 2026-09-21T11:41:23.342Z

Reserved: 2026-09-10T23:08:25.314Z

Link: CVE-2026-89139

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-21T12:17:24.440

Modified: 2026-09-21T12:17:24.440

Link: CVE-2026-89139

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T13:00:14Z

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default

  • CWE-749

    Exposed Dangerous Method or Function

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')