CVE-2025-14987
Unknown Unknown - Not Provided
Authorization Bypass in Temporal Server Cross-Namespace Workflow Commands

Publication date: 2025-12-30

Last updated on: 2025-12-30

Assigner: Temporal Technologies Inc.

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-30
Last Modified
2025-12-30
Generated
2026-06-16
AI Q&A
2025-12-30
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
temporal temporal *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 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.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability occurs when the Temporal server's setting system.enableCrossNamespaceCommands is enabled (which is the default). It allows certain workflow task commands to target a different namespace than the one authorized at the gRPC boundary. Specifically, the frontend authorizes commands based on the outer request namespace, but the history service executes the command using the namespace specified inside the command attributes without re-checking authorization. This means a worker authorized for one namespace can create, signal, or cancel workflows in another namespace without proper authorization.

Impact Analysis

This vulnerability can allow a worker with authorization for one namespace to perform actions such as creating, signaling, or canceling workflows in a different namespace without proper authorization. This could lead to unauthorized workflow manipulations across namespaces, potentially causing data integrity issues, workflow disruptions, or unauthorized access to workflow operations.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade Temporal to a fixed version: 1.27.4, 1.28.2, or 1.29.2 or later. Alternatively, you can disable the system.enableCrossNamespaceCommands setting if possible, as it is enabled by default and allows cross-namespace commands that lead to this issue.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-14987. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart