CVE-2025-14986: Go.temporal.io/server Temporal Has A Namespace Policy Vulnerability

LOW
Advisory Identifier: GHSA-p2gr-hm8g-q772
CWE-863
Published
Advisory Summary

CVE-2025-14986 is a LOW temporal has a namespace policy vulnerability (CWE-863: Incorrect Authorization) affecting Go.temporal.io/server libraries in the Go ecosystem. The issue involves temporal has a namespace policy bypass allowing requests to be authorized for incorrect contexts. Remediation is available by upgrading affected packages to version 1.27.4, 1.28.2, 1.29.2.

CVE-2025-14986 at a Glance

CVE Identifier CVE-2025-14986
GHSA Identifier GHSA-p2gr-hm8g-q772
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-863: Incorrect Authorization
Affected Product Go.temporal.io/server
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2025-14986

To remediate this vulnerability, upgrade all affected Go.temporal.io/server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

go.temporal.io/server fixed: 1.27.4
Upgrade go.temporal.io/server to 1.27.4
go.temporal.io/server fixed: 1.28.2
Upgrade go.temporal.io/server to 1.28.2
go.temporal.io/server fixed: 1.29.2
Upgrade go.temporal.io/server to 1.29.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for go.temporal.io/server

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-14986, inspect your project dependencies for Go.temporal.io/server:

inspect dependencies for go.temporal.io/server

Analyze the terminal output to locate any version of Go.temporal.io/server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.27.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where 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. In Go.temporal.io/server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

When frontend.enableExecuteMultiOperation is enabled, the server can apply namespace-scoped validation and feature gates for the embedded StartWorkflowExecutionRequest using its Namespace field rather than the outer, authorized ExecuteMultiOperationRequest.Namespace. This allows a caller authorized for one namespace to bypass that namespace's limits/policies by setting the embedded start request's namespace to a different namespace. The workflow is still created in the outer (authorized) namespace; only validation/gating is performed under the wrong namespace context. This issue affects Temporal: from 1.24.0 through 1.29.1. Fixed in 1.27.4, 1.28.2, 1.29.2.

CVE-2025-14986 Affected Go.temporal.io/server Versions

3 component(s)
Fixed Versions:
1.27.41.28.21.29.2
Product / Package Ecosystem Affected Versions Fixed Version
go.temporal.io/server
Go
≥ 1.24.0
< 1.27.4
1.27.4
go.temporal.io/server
Go
≥ 1.28.0
< 1.28.2
1.28.2
go.temporal.io/server
Go
≥ 1.29.0
< 1.29.2
1.29.2

References

Frequently Asked Questions

What is CVE-2025-14986?
CVE-2025-14986 is a security vulnerability in Go.temporal.io/server involving Temporal has a namespace policy bypass allowing requests to be authorized for incorrect contexts under CWE-863: Incorrect Authorization.
Which Go.temporal.io/server versions are affected?
Affected versions include releases prior to 1.27.4, 1.28.2, 1.29.2 across affected packages: go.temporal.io/server.
What version fixes CVE-2025-14986?
Upgrading to 1.27.4, 1.28.2, 1.29.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is go.temporal.io/server affected?
Yes, go.temporal.io/server is affected in releases prior to 1.27.4, 1.28.2, 1.29.2. Upgrade your dependency to 1.27.4, 1.28.2, 1.29.2 or later.
What CWE is associated with CVE-2025-14986?
CVE-2025-14986 is classified under CWE-863: Incorrect Authorization (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.).
How can I check Go dependencies for CVE-2025-14986?
Run the dependency tree command: 'inspect dependencies for go.temporal.io/server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-p2gr-hm8g-q772",
  "modified" : "2025-12-31T22:08:24Z",
  "published" : "2025-12-30T21:30:33Z",
  "aliases" : [ "CVE-2025-14986" ],
  "summary" : "Temporal has a namespace policy bypass allowing requests to be authorized for incorrect contexts",
  "details" : "When frontend.enableExecuteMultiOperation is enabled, the server can apply namespace-scoped validation and feature gates for the embedded StartWorkflowExecutionRequest using its Namespace field rather than the outer, authorized ExecuteMultiOperationRequest.Namespace. This allows a caller authorized for one namespace to bypass that namespace's limits/policies by setting the embedded start request's namespace to a different namespace. The workflow is still created in the outer (authorized) namespace; only validation/gating is performed under the wrong namespace context.\nThis issue affects Temporal: from 1.24.0 through 1.29.1. Fixed in 1.27.4, 1.28.2, 1.29.2.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "go.temporal.io/server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.24.0"
      }, {
        "fixed" : "1.27.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "go.temporal.io/server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.28.0"
      }, {
        "fixed" : "1.28.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "go.temporal.io/server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.29.0"
      }, {
        "fixed" : "1.29.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-14986"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/temporalio/temporal/pull/8839"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/temporalio/temporal"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/temporalio/temporal/releases/tag/v1.27.4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/temporalio/temporal/releases/tag/v1.28.2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/temporalio/temporal/releases/tag/v1.29.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-31T22:08:24Z",
    "nvd_published_at" : "2025-12-30T21:15:42Z"
  }
}