Skip to main content

Temporal Server CVE-2026-89139

| EUVDEUVD-2026-83897 HIGH
OS Command Injection (CWE-78)
2026-09-21 Temporal GHSA-w8cx-4cf2-9hvr
8.7
CVSS 4.0 · Vendor: Temporal
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain write role in one namespace
  2. Delivery
    Craft worker deployment version with subprocess compute provider
  3. Exploit
    Submit config specifying attacker program and argv
  4. Execution
    Worker Service invokes provider immediately after validation
  5. Persist
    Command executes under server account
  6. Impact
    Harvest cluster-wide persistence credentials and TLS material

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires all of the following simultaneously: (1) Temporal Server version 1.31.0 or later and earlier than 1.31.3; (2) the Worker Service running, which is the default service set in a stock deployment; (3) the per-namespace dynamic config workercontroller.compute_providers.enabled being unset (the default) or explicitly containing 'subprocess' - because the allowlist is skipped entirely when unset, every provider including subprocess is permitted by default; (4) an authorizer and claim mapper configured (a deployment with no authorizer already grants unrestricted cross-namespace access, so no boundary exists to cross); and (5) the attacker holding at least a write role in one namespace. Notably NOT required: the workercontroller.enabled setting (defaults false but does not gate this path - confirmed affected even when never set anywhere), nor any scaling decision, task arrival, or unusual request sequence, since execution is immediate after spec validation. Limiting factors: authentication with a namespace write role is needed (PR:L), and the narrow patched version window bounds exposure.

Impact

This is a genuine high-priority issue, not a CVSS-inflation artifact. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) describes remote, low-complexity, low-privilege command execution with full confidentiality/integrity/availability impact, and the description substantiates every metric: an authenticated caller with only a write role in a single namespace supplies the program name and argument vector, and the configuration handler invokes the provider immediately after validation - no scaling event, task arrival, or unusual sequencing needed (supporting AC:L/AT:N). The one point of interpretive tension is scope: the vendor sets SC/SI/SA:N, but the description explicitly states the Worker Service holds persistence credentials for every namespace and the cluster TLS material, so impact crosses the namespace authorization boundary to the whole cluster - this argues for a scope change (CVSS 3.1 S:C) rather than N, which is the main reason my independent 3.1 score lands higher than a naive translation. On exploitation signals: no EPSS score, no CISA KEV entry, and no public proof-of-concept are present in the provided intelligence, so this is 'no public exploit identified at time of analysis' - but the flaw was reported by the vendor (Temporal) itself with a confirmed patch, and the trivial exploitation path (attacker-controlled argv executed under the server account by default) means low real-world barrier once details are known. The default-permit allowlist behavior (workercontroller.compute_providers.enabled unset = allow all) removes the one mitigating control, making this a real priority for any operator running 1.31.0-1.31.2 with authorization enabled.

Exploit ScenarioDerived

An attacker who has been granted a write role in just one namespace of a multi-tenant Temporal cluster (v1.31.0-1.31.2) crafts a worker deployment version whose scaling group uses the 'subprocess' compute provider, specifying an arbitrary program and argument vector. Upon submitting the configuration, the Worker Service validates the spec and immediately invokes the provider, executing the attacker's command on the host under the server's service account - with access to cluster-wide persistence credentials and TLS material. No public exploit code is identified at time of analysis, but the path is deterministic and requires no special timing.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 21, 2026

Authenticated callers holding only a write role in a single namespace can execute arbitrary commands on the host running Temporal Server's Worker Service, because the built-in subprocess compute provider derives the program name and argument vector from caller-supplied compute provider configuration instead of operator configuration, and the configuration handler invokes it immediately after spec validation with no scaling decision or task arrival required. Deployments are affected when running Temporal Server 1.31.0 through 1.31.2 with the Worker Service active and the per-namespace dynamic config workercontroller.compute_providers.enabled either unset (the default, in which case the allowlist check is skipped entirely) or explicitly containing subprocess; authentication with a namespace write role is required (CVSS vector PR:L), and a deployment with no authorizer is already fully open rather than being a special case of this flaw. Since the Worker Service process holds persistence credentials for every namespace in the cluster plus the cluster TLS material, successful exploitation reaches beyond the caller's namespace to the cluster as a whole, making this a genuine high-priority issue rather than CVSS inflation. Vendor patches are available in releases 1.31.3 and 1.32.0, and no public exploit was identified at time of analysis.

RemediationAI

Upgrade Temporal Server to 1.31.3 or 1.32.0, the vendor-released patched versions that both deny by default in the compute provider allowlist and compile the subprocess provider out of release builds (see https://github.com/temporalio/temporal/releases/tag/v1.31.3 and https://github.com/temporalio/temporal/releases/tag/v1.32.0; upstream fixes in https://github.com/temporalio/temporal/pull/12021 and https://github.com/temporalio/temporal-auto-scaled-workers/pull/129). If an immediate upgrade is not possible, explicitly set the per-namespace dynamic config workercontroller.compute_providers.enabled to an allowlist that omits subprocess in every namespace - leaving it unset is not safe, because the vulnerable code skips the allowlist check entirely when the value is nil; note that this is a configuration-only mitigation and the provider code still ships in the binary, so it must be applied everywhere and is not a substitute for patching. Changing that setting may disable legitimate worker-controller autoscaling for namespaces that relied on other providers, so validate the resulting allowlist contains the provider types your autoscaling actually uses. Set workercontroller.enabled explicitly and assume it provides no protection on unpatched releases, since it does not gate the affected path. Restrict namespace write roles (Temporal's authorization layer) so that only trusted operators can submit worker deployment version specifications, and ensure an authorizer and claim mapper are configured, because an unauthenticated or unauthorized deployment already grants unrestricted cross-namespace access and cannot rely on this boundary at all. As a detection and containment measure, enumerate existing worker deployment versions with DescribeWorkerDeploymentVersion and treat any scaling group whose compute provider type is subprocess as evidence of prior configuration of the vulnerable path; rotate the Worker Service's persistence credentials and TLS material if such a configuration is found, since commands ran under that identity.

Affected VersionsENISA

Temporal Server 1.31.0 <1.31.3

Affected Packages

euvd temporal_server fix: 1.31.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-78 (improper neutralization of special elements used in an OS command), specifically a command-injection sink reachable through configuration rather than request bodies. Temporal Server compiles a Worker Controller Instance (WCI) module into its Worker Service; that module ships a compute provider registered under the type name subprocess, whose job is to launch a worker by running a command on the Worker Service host. The program name and argv are read from the compute provider configuration supplied in the caller's request, so the attacker controls both the executable and its arguments. Execution is synchronous and immediate: the configuration handler calls every provider directly via the invoke strategy right after validating the submitted specification, so no autoscaling decision, task dispatch, or unusual request ordering is needed. The only barrier intended to constrain this path is the per-namespace dynamic configuration allowlist workercontroller.compute_providers.enabled; the vulnerable code in compute_provider/registry.go performed the allowlist check only when the list was non-nil (if enabledProviders != nil && !slices.Contains(...)), so an unset value - the default - permits every registered provider including subprocess. A second, separate setting, workercontroller.enabled, defaults to false but does not gate the affected path, so a deployment that never set it anywhere remains exploitable. The subprocess provider was built into official temporal-server binaries and container images for the affected releases because the source file carried only a !release build constraint. The upstream fix changes the guard to an unconditional if !slices.Contains(enabledProviders, string(providerType)) (deny by default) and gates the provider behind the build tag computeprovider_subprocess && !release, removing it from stock release builds. Note that the CVSS 4.0 vector reports PR:L and subsequent-system metrics of SC:N/SI:N/SA:N, while the independent assessment applies CVSS 3.1 scope-changed metrics (S:C/C:H/I:H/A:H) on the basis that the Worker Service identity carries cluster-wide persistence credentials and TLS material - the technical outcome is the same: host-level command execution under the server process account.

Know when Temporal Server gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Temporal) PRIMARY 8.7 HIGH
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
vuln.today AI 9.9 CRITICAL

Remote, low-complexity command execution with only a namespace write role (PR:L); scope changes (S:C) because impact crosses the namespace authorization boundary to cluster-wide credentials/TLS, yielding full C/I/A.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (Temporal).

CVSS VectorVendor: Temporal

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Temporal Server 1.31.0 through 1.31.2 with the Worker Service active are exposed to a high-severity authenticated command-execution flaw that lets a namespace writer run arbitrary commands on the worker host. This can compromise worker infrastructure, enable lateral movement or data access, and disrupt workflow operations, so leadership should prioritize remediation. No public exploit identified at time of analysis, and Patch available per vendor advisory.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
popular cloud-native workflow engine, but affected version window is narrow (1.31.0-1.31.2)
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy