CVE-2025-14987: Go.temporal.io/server Temporal Has An Incorrect Authorization Vulnerability

MODERATE
Advisory Identifier: GHSA-hmhp-gh8m-c8xp
CWE-863
Published
Advisory Summary

CVE-2025-14987 is a MODERATE temporal has an incorrect authorization vulnerability (CWE-863: Incorrect Authorization) affecting Go.temporal.io/server libraries in the Go ecosystem. The issue involves temporal has an incorrect authorization vulnerability. Remediation is available by upgrading affected packages to version 1.27.4, 1.28.2, 1.29.2, 1.29.0-135.0.0.20251218190115-b292a32bacdf.

CVE-2025-14987 at a Glance

CVE Identifier CVE-2025-14987
GHSA Identifier GHSA-hmhp-gh8m-c8xp
Severity MODERATE
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-14987

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
go.temporal.io/server fixed: 1.29.0-135.0.0.20251218190115-b292a32bacdf
Upgrade go.temporal.io/server to 1.29.0-135.0.0.20251218190115-b292a32bacdf
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-14987, 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 system.enableCrossNamespaceCommands is enabled (on by default), the Temporal server permits certain workflow task commands (e.g. StartChildWorkflowExecution, SignalExternalWorkflowExecution, RequestCancelExternalWorkflowExecution) to target a different namespace than the namespace authorized at the gRPC boundary. The frontend authorizes RespondWorkflowTaskCompleted based on the outer request namespace, but the history service later resolves and executes the command using the namespace embedded in command attributes without authorizing the caller for that target namespace. This can allow a worker authorized for one namespace to create, signal, or cancel workflows in another namespace. This issue affects Temporal: through 1.29.1. Fixed in 1.27.4, 1.28.2, 1.29.2.

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

4 component(s)
Fixed Versions:
1.27.41.28.21.29.21.29.0-135.0.0.20251218190115-b292a32bacdf
Product / Package Ecosystem Affected Versions Fixed Version
go.temporal.io/server
Go
< 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
go.temporal.io/server
Go
≥ 1.29.0-0
< 1.29.0-135.0.0.20251218190115-b292a32bacdf
1.29.0-135.0.0.20251218190115-b292a32bacdf

References

Frequently Asked Questions

What is CVE-2025-14987?
CVE-2025-14987 is a security vulnerability in Go.temporal.io/server involving Temporal has an Incorrect Authorization vulnerability 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, 1.29.0-135.0.0.20251218190115-b292a32bacdf across affected packages: go.temporal.io/server.
What version fixes CVE-2025-14987?
Upgrading to 1.27.4, 1.28.2, 1.29.2, 1.29.0-135.0.0.20251218190115-b292a32bacdf (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, 1.29.0-135.0.0.20251218190115-b292a32bacdf. Upgrade your dependency to 1.27.4, 1.28.2, 1.29.2, 1.29.0-135.0.0.20251218190115-b292a32bacdf or later.
What CWE is associated with CVE-2025-14987?
CVE-2025-14987 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-14987?
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-hmhp-gh8m-c8xp",
  "modified" : "2026-01-02T15:46:14Z",
  "published" : "2025-12-30T21:30:33Z",
  "aliases" : [ "CVE-2025-14987" ],
  "summary" : "Temporal has an Incorrect Authorization vulnerability",
  "details" : "When system.enableCrossNamespaceCommands is enabled (on by default), the Temporal server permits certain workflow task commands (e.g. StartChildWorkflowExecution, SignalExternalWorkflowExecution, RequestCancelExternalWorkflowExecution) to target a different namespace than the namespace authorized at the gRPC boundary. The frontend authorizes RespondWorkflowTaskCompleted based on the outer request namespace, but the history service later resolves and executes the command using the namespace embedded in command attributes without authorizing the caller for that target namespace. This can allow a worker authorized for one namespace to create, signal, or cancel workflows in another namespace.\nThis issue affects Temporal: 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:L/VI:L/VA:L/SC:L/SI:L/SA:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "go.temporal.io/server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "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"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "go.temporal.io/server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.29.0-0"
      }, {
        "fixed" : "1.29.0-135.0.0.20251218190115-b292a32bacdf"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-14987"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/temporalio/temporal/commit/b292a32bacdfa6472affd90f0a940408d5839cfa"
  }, {
    "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" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-02T15:46:14Z",
    "nvd_published_at" : "2025-12-30T21:15:43Z"
  }
}