Skip to content

CVE-2025-14987 Cross Namespace Commands Authorization Bypass

MediumCVSS 5.3 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
go.temporal.io/server(Go) < 1.27.4; >= 1.28.0, < 1.28.2; >= 1.29.0, < 1.29.2; >= 1.29.0-0, < 1.29.0-135.0.0.20251218190115-b292a32bacdf 1.27.4, 1.28.2, 1.29.0-135.0.0.20251218190115-b292a32bacdf, 1.29.2 Fixed
temporal <= 1.27.3; <= 1.28.1; <= 1.29.1 after 1.27.3, 1.28.1, 1.29.1 Fixed

Affected products

ProductAffected versionsFixed in
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
temporal <= 1.29.1 No fix listed
temporal <= 1.28.1 No fix listed
temporal <= 1.27.3 No fix listed

References