Incorrect Authorization Affecting go.temporal.io/server/common/api package, versions >=1.31.0 <1.31.5>=1.32.0 <1.32.2>=1.33.0-164.0-rc.20260929112932 <1.33.0-166.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.48% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GOTEMPORALIOSERVERCOMMONAPI-22566187
  • published16 Nov 2026
  • disclosed2 Nov 2026
  • creditHabib

Introduced: 2 Nov 2026

NewCVE-2026-120091  (opens in a new tab)
CWE-78  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade go.temporal.io/server/common/api to version 1.31.5, 1.32.2, 1.33.0-166.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the read-only access registration for ValidateWorkerDeploymentVersionComputeConfig in common/api/metadata.go. An authenticated caller with namespace read access can submit caller-controlled compute configuration to this operation; when the k8s provider is enabled, it builds and uses a Kubernetes client from that configuration, allowing the caller to execute commands on the Worker Service host with the server process’s privileges.

Notes

  • The provider must be allowed by workercontroller.compute_providers.enabled: on 1.31.0–1.31.2, an unset setting allows k8s; on later affected releases, it must explicitly include k8s.
  • The validation operation invokes the provider directly, so the attacker does not need an existing worker deployment, a scaling decision, or an arriving task.

Workarounds

  • Remove k8s from workercontroller.compute_providers.enabled in the global configuration and every namespace-constrained override. On versions 1.31.0–1.31.2, set the allowlist explicitly rather than leaving it unset. This prevents the vulnerable validation path from invoking the k8s provider.

CVSS Base Scores

version 4.0
version 3.1