Skip to main content

CVE-2026-87858: CWE-807: Reliance on Untrusted Inputs in a Security Decision in Temporal Technologies, Inc. Temporal Server

0
High
VulnerabilityCVE-2026-87858cvecve-2026-87858cwe-807
Published: 09/21/2026 (09/21/2026, 11:39:52 UTC)
Source: CVE Database V5
Vendor/Project: Temporal Technologies, Inc.
Product: Temporal Server

Description

Temporal Server decided whether a Workflow completion callback was internal by reading a caller-supplied HTTP header. An authenticated caller holding only write permission in a single namespace could attach a completion callback whose URL host matched the configured callback address allowlist, whose URL path was any Temporal HTTP API route, and whose header map contained a non-empty header named source. When the History service delivered that callback, the non-empty source header caused it to re-target the request at the local frontend client and rewrite only the scheme and host, preserving the caller's path, query, and request body. Where an internal frontend is deployed with its HTTP API enabled, that client resolves to the internal frontend, which authorizes every request as a system administrator without requiring authentication information. The result is that the server performs an attacker-chosen state-changing HTTP POST against its own administrative API on the caller's behalf, in namespaces where the caller has no permission. The caller never needs network access to the internal frontend, because the History service makes the request. Confirmed effects include terminating Workflows in other namespaces, registering namespaces, modifying another namespace's configuration, and deleting another namespace and its Workflows. The affected routing logic is present in both the HSM and CHASM callback delivery implementations. This description and the CVSS score in this record describe releases 1.30.0 and later, where any non-empty source header is sufficient. Releases 1.25.0 through 1.29.7 are affected by a narrower form of the same defect in which the header must exactly match a configured cluster ID, a UUID that a namespace-scoped caller cannot read through the API. The consequence once that match occurs is the same, but the attack is materially harder and scores lower. To determine whether a deployment is affected, check two settings together: the static Server configuration for a non-zero services.internal-frontend.rpc.httpPort, and the effective per-namespace dynamic configuration value of component.callbacks.allowedAddresses. A deployment is exposed only when an internal frontend is deployed with a non-zero HTTP port, at least one allowlist rule admits a host, and authorization is enabled. The allowlist is empty by default, which denies all external callback URLs, and the stock static topology does not include an internal frontend. Note that a failed attach returns the error 'invalid url: url does not match any configured callback address', which proves only that one tested URL did not match and does not prove the effective allowlist is empty. To look for callbacks already attached, use DescribeWorkflowExecution, which returns callback information for a Workflow's registered completion callbacks. Operators should be aware of a gap when searching for evidence of delivery: the frontend HTTP API server records the request method and URL at debug level only, so at default log levels a delivered request is not written to the internal frontend's logs, and the absence of such log entries is not evidence that the issue was not exploited.

CVSS v4.0

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

Temporal Technologies, Inc.

Temporal Server

Affected versions
>=1.30.0 <1.30.7>=1.31.0 <1.31.3

Temporal Technologies, Inc.

Temporal Server

Affected versions
>=1.25.0 <=1.29.7
go.temporal.io/server
pkg:golang/go.temporal.io/server
Affected versions
>=1.30.0 <1.30.7>=1.31.0 <1.31.3>=1.25.0 <=1.29.7
CPE configurations
cpe:2.3:a:temporal:temporal:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/21/2026, 12:01:44 UTC

Technical Analysis

Temporal Server's callback delivery mechanism trusts a caller-supplied HTTP header named 'source' to identify internal Workflow completion callbacks. In versions 1.30.0 and later (up to 1.30.6 and 1.31.2), any non-empty 'source' header triggers the internal frontend client to re-target the request, preserving the caller's path and query. This internal frontend authorizes requests as system administrators without authentication, enabling an attacker with write permission in a single namespace to perform unauthorized state-changing HTTP POST requests against the administrative API in other namespaces. Versions 1.25.0 through 1.29.7 are affected by a narrower variant requiring the 'source' header to exactly match a configured cluster ID, making exploitation harder but still possible. The vulnerability depends on deployment configuration: an internal frontend with a non-zero HTTP port, a non-empty callback address allowlist, and enabled authorization. The flaw affects both HSM and CHASM callback delivery implementations. Logs at default levels do not record delivered requests, complicating detection.

Potential Impact

An attacker with write permission in a single namespace can exploit this vulnerability to perform unauthorized administrative actions across namespaces, including terminating Workflows, registering new namespaces, modifying configurations, and deleting namespaces and their Workflows. This results in high-impact unauthorized state changes and potential disruption of Temporal Server operations beyond the attacker's authorized scope.

Mitigation Recommendations

No explicit patch links are provided in the input data. Operators should verify deployment configurations to ensure that the internal frontend is not exposed with a non-zero HTTP port and that the callback address allowlist is empty or restrictive. Since the vulnerability depends on specific configuration settings, disabling or restricting the internal frontend HTTP API and carefully managing the callback allowlist can mitigate exposure. Operators should audit existing Workflow completion callbacks using DescribeWorkflowExecution to identify potentially malicious callbacks. Due to limited logging at default levels, increasing log verbosity on the frontend HTTP API server may aid in detecting exploitation attempts. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Temporal
Date Reserved
2026-09-09T13:05:43.884Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ab1194555bf5e2cf5d2cb50

Added to database: 09/21/2026, 11:47:17 UTC

Last enriched: 09/21/2026, 12:01:44 UTC

Last updated: 09/21/2026, 15:32:22 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses