Skip to main content

Temporal Server EUVDEUVD-2026-120396

| CVE-2026-87857 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-09 Temporal GHSA-fqqw-cv9m-h3p6
5.3
CVSS 4.0 · Vendor: Temporal
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with read access to namespace A
  2. Delivery
    Obtain genuine non-final continuation token for namespace B workflow
  3. Exploit
    Submit token naming namespace A with shard-matching workflow ID
  4. Execution
    Server selects history from token's branch, skipping identity binding
  5. Impact
    Receive namespace B workflow history

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires an authenticated caller who (1) holds read permission on at least one namespace and (2) already possesses a genuine, non-final (still-continuable) next_page_token that was legitimately issued earlier for a workflow in the TARGET namespace - such a token cannot be forged or derived from public workflow identifiers. The replayed request's workflow identifier must select the same History shard as the continuation token's branch (no workflow with that identifier need actually exist). The deployment must run an affected release: all affected releases omit the binding check on the forward history path (GetWorkflowExecutionHistory), and releases from 1.16.0 also on the reverse path (GetWorkflowExecutionHistoryReverse). Limiting factors that reduce realistic risk: no unauthenticated exploitation; the attacker cannot enumerate or target workflows for which they hold no continuation; the impact is read-only history disclosure with no state modification; and no in-product setting in an affected release restores the check, so exposure is a version question, not a configuration one. The practically exploitable population is thus multi-tenant clusters relying on namespace-based isolation where a continuation token has leaked, been shared, or outlived the holder's access (e.g., after offboarding or credential revocation).

Impact

Signals are consistent and point to a genuine but moderate, bounded authorization (IDOR) weakness rather than a high-urgency crisis. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L, rest N) scores 5.3 medium; my independent CVSS 3.1 read is 4.3 (Low). PR:L confirms the attacker must already be an authenticated caller holding read permission on at least one namespace, so this is not remotely reachable by anonymous attackers. There is no CISA KEV listing and no EPSS score in the supplied data, and no public exploit is identified - the only exploitation-relevant references are the vendor's own vulnerable-code pointer and the patch PRs/commits, not working exploit code. The vuln.today Decision label is 'this_month' (not act_now/emergency), aligning with the medium severity. The practical risk ceiling is set by a hard prerequisite: the attacker must possess a GENUINE, non-final continuation token previously issued for a workflow in the TARGET namespace; the description explicitly states the flaw does not allow unauthenticated access, token construction from public workflow identifiers, enumeration of workflows for which the caller holds no continuation, or any state modification. This confines real-world exploitation to insider, token-leak, or revoked-access (post-offboarding) situations in multi-tenant clusters that use namespaces as the tenant isolation boundary. The most security-relevant twist is that, because the token is unauthenticated protobuf, a holder can advance its event range and clear its persistence cursor to read history events created AFTER their credential lost access to that namespace. Net: a real priority for multi-tenant Temporal operators to patch this month, but neither mass-exploitable nor an emergency; EPSS is missing, so quantitative exploitation probability cannot be stated.

Exploit ScenarioDerived

An authenticated tenant in a multi-namespace Temporal cluster who previously held (or was given/leaked) a valid non-final history continuation token for a workflow in another tenant's namespace replays that token against GetWorkflowExecutionHistory while naming their own authorized namespace and a workflow ID that maps to the same History shard, and receives the other namespace's workflow history - including events written after their access to that namespace was revoked. No public exploit is identified; the attack requires possessing a genuine continuation token and cannot be constructed from public workflow identifiers.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Workflow-history pagination in Temporal Server is not bound to the namespace and workflow named in the request, so an authenticated caller with read permission on one namespace who also holds a genuine, non-final next_page_token issued for a workflow in a second namespace can replay that token under a request naming the namespace they can read and receive the other namespace's workflow history. The caller can also extend the token's event range and clear its persistence cursor, exposing history events created after their credentials stopped granting access to the token's namespace; no workflow with the supplied identifier need exist, but the identifier must select the same History shard as the token's branch. All releases lacking the binding check on the forward history path are affected, and releases from 1.16.0 onward are also affected on the reverse path; no in-product setting in those releases restores the check, exploitation requires a pre-existing leaked, shared, or outlived continuation token, and no public exploit has been identified at time of analysis.

RemediationAI

Upgrade to a fixed release - v1.30.7, v1.31.3 or v1.32.0 - since the vendor states that no configuration in an affected release restores the binding check, making the version upgrade the only complete fix; the enforcing commits are linked from PRs 11723, 11919, 12039 and 12040 and the release tags are at https://github.com/temporalio/temporal/releases/tag/v1.30.7, https://github.com/temporalio/temporal/releases/tag/v1.31.3 and https://github.com/temporalio/temporal/releases/tag/v1.32.0. After upgrading, keep history.enablePaginationTokenBranchValidation at its default of true; history.enablePaginationTokenBranchValidationShadowMode (default false) serves mismatched-token reads while still logging and emitting the pagination_token_branch_mismatch counter, so it is a telemetry-onboarding step, not a mitigation - leaving it enabled keeps the disclosure path open. Use the fixed releases' telemetry to hunt for prior exposure: search History-service warning logs for "Pagination branch token is not the execution's current branch token", prioritising reason=foreign_branch (a branch the requested execution never recorded, not expected in normal operation) over reason=non_current_branch (a superseded branch of the same execution that can legitimately follow conflict resolution or failover), and remember the metric and log carry the requesting namespace rather than the namespace whose history was selected, so an alert does not name the exposed namespace. Treat a foreign_branch record as a lead only, since the counter and log are emitted before the enforcement decision; confirm actual refusal from the gRPC response, which is InvalidArgument with a CurrentBranchChangedFailure detail. Because exploitation depends on a pre-existing continuation token that leaked, was shared, or outlived the holder's access, review multi-tenant clusters that rely on namespace isolation for any such token exposure around credential revocation and offboarding; note that affected releases emit no metric or log for this condition, so their telemetry provides no detection and only the upgrade-plus-telemetry path gives visibility.

Affected VersionsENISA

Temporal Server 1.31.0 <1.31.3
Temporal Server 1.30.0 <1.30.7
Temporal Server 1.0.0 ≤1.29.7

Affected Packages

euvd temporal_server fix: 1.30.7, 1.31.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

GetWorkflowExecutionHistory and GetWorkflowExecutionHistoryReverse authorize the caller against the namespace in the request, then select history from the branch recorded inside the caller-supplied next_page_token. That continuation carries a run identifier, event bounds, a persistence cursor, and a branch token, but no namespace or workflow identity, and it is serialized as unauthenticated protobuf bytes - the classic CWE-639 pattern of an authorization decision made on a key the user controls. Because the token is unauthenticated, its event range and persistence cursor can also be edited to pull in events beyond the original window. The upstream fix adds ValidateBranchTokenForExecution on both the forward (PR 11723) and reverse (PR 11919/12039/12040) paths, rejecting a page token whose branch token is not the requested execution's current branch token, and introduces the dynamic config settings history.enablePaginationTokenBranchValidation (default true) and history.enablePaginationTokenBranchValidationShadowMode (default false, logs and emits metrics but still serves the read). Fixed builds emit the counter pagination_token_branch_mismatch tagged with namespace and reason, plus a History-service warning log "Pagination branch token is not the execution's current branch token" with the fields wf-namespace, wf-id, wf-run-id, reason, wf-branch-token and wf-request-branch-token (request-supplied bytes truncated at 4096). reason=foreign_branch means a branch token the requested execution never recorded and is not expected in normal operation; reason=non_current_branch is a retained but superseded branch of the same execution and can legitimately occur after conflict resolution or failover. The metric and log are tagged with the requesting namespace, not the namespace whose history the token selects, and they are emitted before the enforcement decision, so a foreign_branch record alone does not prove refusal - confirm that from the gRPC response, which is InvalidArgument carrying a CurrentBranchChangedFailure detail.

Know when Temporal Server gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Temporal) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Authenticated caller needs read on one namespace plus a genuine prior continuation token (PR:L) over remote gRPC (AV:N/AC:L); impact is read-only cross-namespace history disclosure bounded by token possession, giving C:L with no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Temporal).

CVSS VectorVendor: Temporal

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Temporal Server does not bind a workflow-history pagination token to the namespace and workflow named in the request that presents it. GetWorkflowExecutionHistory and GetWorkflowExecutionHistoryReverse authorize the caller against the namespace in the request, then select history from the branch recorded inside the caller-supplied next_page_token. The normal history continuation carries a run identifier, event bounds, a persistence cursor, and a branch token, but no namespace or workflow identity, and it is serialized as unauthenticated protobuf bytes. An authenticated caller holding read permission on one namespace, together with a genuine non-final continuation issued earlier for a workflow in a second namespace, can submit that continuation with a request naming the first namespace and receive the second namespace's workflow history, provided the supplied workflow identifier selects the same History shard as the continuation's branch. No workflow with the supplied identifier needs to exist. Because the token is unauthenticated, a holder can also advance its event range and clear its persistence cursor, which returns history events created after that caller's current credential no longer granted access to the continuation's namespace. Determining exposure is a version question rather than a configuration question: every release listed as affected omits the binding check on the forward history path, and on the reverse history path in releases from 1.16.0, which introduced GetWorkflowExecutionHistoryReverse; no setting in an affected release restores it, and affected releases emit no metric or log for the condition, so their telemetry provides no detection. Fixed releases add the check and, when a page token's branch token is not the requested execution's current branch token, record the counter pagination_token_branch_mismatch tagged with namespace and reason and write a History-service warning log reading "Pagination branch token is not the execution's current branch token" with the fields wf-namespace, wf-id, wf-run-id, reason, wf-branch-token, and wf-request-branch-token. Search History warning logs for that message, or for reason=foreign_branch, which denotes a branch token the requested execution never recorded and is not expected in normal operation; reason=non_current_branch denotes a retained but superseded branch of the same execution and can occur legitimately after conflict resolution or failover. A foreign_branch record does not by itself prove the read was refused, because the counter and log are emitted before the enforcement decision and therefore appear both when the check rejects the request and when history.enablePaginationTokenBranchValidationShadowMode is enabled and the read is served; confirm refusal from the gRPC response, which is InvalidArgument carrying a CurrentBranchChangedFailure detail. The metric and log are tagged with the requesting namespace, not the namespace whose history the token selects, so a foreign_branch alert does not name the exposed namespace. The issue does not provide unauthenticated access, construction of a usable continuation from public workflow identifiers, enumeration of workflows for which the caller holds no continuation, or any modification of workflow state.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
popular cloud-native workflow engine, significant but not universal enterprise deployment
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy