CVE-2026-89139
Received Received - Intake

Command Injection in Temporal Server

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

Publication date: 2026-09-21

Last updated on: 2026-09-21

Assigner: Temporal Technologies Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-21
Last Modified
2026-09-21
Generated
2026-09-21
AI Q&A
2026-09-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
temporal temporal_server From 1.31.0 (inc) to 1.31.3 (exc)
temporal temporal_server From 1.32.0 (inc)
temporal temporal_auto_scaled_workers v0.2.0-1.32.0.158.0
temporal temporal_auto_scaled_workers From 1.31.0 (inc) to 1.31.3 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
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-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-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 in Temporal Server allows an authenticated user with write role in a namespace to execute arbitrary commands on the host machine running the Worker Service. The issue stems from the subprocess compute provider, which runs commands from user-supplied configurations without proper restrictions. The Worker Service process holds critical credentials and TLS material for the entire cluster, making this a high-impact security flaw.

Detection Guidance

To detect this vulnerability, check if your Temporal Server version is between 1.31.0 and 1.31.2. Verify if the Worker Service is running and if the compute provider allowlist is unset or includes 'subprocess'. Use DescribeWorkerDeploymentVersion in each namespace to check for any scaling group with compute provider type 'subprocess'.

Impact Analysis

An attacker could gain full control over the server hosting the Worker Service, execute malicious commands, steal sensitive data like namespace credentials or TLS certificates, and potentially compromise the entire Temporal cluster. This could lead to data breaches, unauthorized access, or service disruption.

Compliance Impact

This vulnerability likely violates compliance requirements for GDPR and HIPAA due to unauthorized access to sensitive data and potential data breaches. It undermines data integrity, confidentiality, and access control principles required by these regulations.

Mitigation Strategies

Upgrade Temporal Server to version 1.31.3 or later. Set the compute provider allowlist to exclude 'subprocess' or ensure workercontroller.compute_providers.enabled is set to an empty list in all namespaces. Disable the Worker Service if not required.

Chat Assistant

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

EPSS Chart