Skip to content

Workflow-platform internal deputies and presigned-URL operation confusion

Source: hourly offensive-security scan, 2026-09-21 (12:32Z GitHub advisory wave). Primary entries: CVE-2026-87858 / GHSA-vrgw-vghm-5p74 (Temporal Server, high), CVE-2026-89139 / GHSA-w8cx-4cf2-9hvr (Temporal Server, high), and CVE-2026-94368 / GHSA-5p5f-qvx9-whpj (NooBaa, CVSS 7.1).

This wave is durable because all three items are the same reusable class: a request parameter that looks like data to the caller is interpreted as trust, configuration, or intent by an internal component that the caller never touches directly. One namespace-write role, or one valid presigned URL, becomes a server-side deputy acting with privileges the caller does not hold.

What changed

Advisory Component Boundary Operator value
CVE-2026-87858 / GHSA-vrgw-vghm-5p74 Temporal Server workflow-completion callbacks "internal vs external callback" decided by a caller-supplied HTTP header; a non-empty source header makes History re-target the request at the internal frontend client, rewriting only scheme+host and preserving the caller's path, query, and body Header-named internal trust flag; SSRF where the server (not you) reaches an admin API
CVE-2026-89139 / GHSA-w8cx-4cf2-9hvr Temporal Server Worker Controller Instance a registered subprocess compute provider takes program name + argv from the caller's request, and the enable-allowlist check is skipped when the config value is unset (the default) Configuration-in-request + fail-open allowlist = write-role → host RCE under the server account
CVE-2026-94368 / GHSA-5p5f-qvx9-whpj noobaa-core S3 presigned URLs (SigV4) unsigned x-amz- headers are dropped from the signature calculation instead of rejected; adding an unsigned x-amz-copy-source to a presigned PUT converts it into a CopyObject Presigned URL scope ≠ granted operation; signature-scope asymmetry at header level

Temporal: the completion-callback internal deputy (CVE-2026-87858)

An authenticated caller with write permission in a single namespace attaches a completion callback to a Workflow where:

  1. The callback URL host matches the configured allowlist (component.callbacks.allowedAddresses, per-namespace dynamic config).
  2. The callback URL path is any Temporal HTTP API route, the allowlist checks host, not path.
  3. The callback header map contains a non-empty header named source.

On delivery, the History service sees the source header, classifies the callback as internal, re-targets it at the local frontend client, and rewrites only scheme and host, your path, query, and body ride along. Where the deployment runs the internal frontend with its HTTP API enabled (services.internal-frontend.rpc.httpPort non-zero), that client authorizes every request as a system administrator with no authentication. The server then performs your chosen state-changing POST against its own admin API in namespaces you have no access to. Confirmed effects: terminating Workflows in other namespaces, registering namespaces, modifying another namespace's configuration, deleting a namespace and its Workflows. You never need network access to the internal frontend, History makes the request for you.

Version split matters for precondition work: 1.30.0+ any non-empty source header suffices; 1.25.0-1.29.7 requires the header to exactly match the cluster ID (a UUID a namespace-scoped caller cannot read through the API), same consequence, materially harder attack. The routing defect is present in both the HSM and CHASM callback-delivery implementations.

Precondition probes for authorized assessments (both must hold):

1. Static server config: services.internal-frontend.rpc.httpPort != 0
2. Effective per-namespace dynamic config: component.callbacks.allowedAddresses non-empty

Validation boundary: lab Temporal cluster only. Prove with a canary Workflow in a second disposable namespace that you terminate/canary-annotate via the deputy, never against shared or production clusters; capture the callback spec, delivered request (from a lab-side listener on the allowlisted host), and the admin-API action outcome.

Reusable axes

  • A caller-supplied header that selects internal vs external handling is an auth boundary. Sweep every header/parameter named source, internal, system, origin, or product-jargon that changes which client or credential the server uses on the next hop. Compare delivered-request shapes with and without the flag.
  • Allowlists that check host but not path make the internal service the destination and your input the command. Once re-targeted, the entire remaining URL + body is yours, the allowlist check was for the wrong dimension.
  • The SSRF leg never leaves the product. When the internal hop is a first-party admin client (not a raw HTTP dial), classic SSRF defenses (loopback blocks, egress policy) prove nothing, check what authorization context the internal client carries.
  • Version-conditional exploits are normal in callback/relay code: fingerprint the exact server version first; the same payload may need a readable UUID (cluster ID) on older releases.

Temporal: the subprocess compute provider is caller-configured and on by default (CVE-2026-89139)

The Worker Controller Instance module compiles into the Worker Service and registers a compute provider named subprocess whose job is to launch workers by running a command on the Worker Service host. The program name and argv come from the compute-provider configuration in the caller's request, not from operator configuration. Configuring a worker deployment version with subprocess makes the Worker Service execute your chosen command, as the server process account, immediately, the config handler invokes every provider using the invoke strategy directly after validating the spec, so no scaling decision, task arrival, or unusual sequence is required.

The blast radius: the Worker Service process holds persistence credentials for every namespace in the cluster plus the cluster TLS material. One namespace write role → code execution as the server → cluster-wide credential access.

The only guardrail is the per-namespace dynamic config workercontroller.compute_providers.enabled, and it fails open: its default is an unset list, and the allowlist check is skipped entirely when unset, so every registered provider (including subprocess) is permitted. The provider ships in official Temporal Server binaries and container images.

Affected window: 1.31.0 ≤ version < 1.31.3, Worker Service running (it is in the default service set, stock deployments), workercontroller.compute_providers.enabled unset or containing subprocess, and a real authorizer/claim-mapper configured (a no-authorizer deployment already grants more).

Validation boundary: lab cluster only; prove with an inert marker command (id > /tmp/…) in a disposable namespace and record config state before/after. Never register a deployment version with subprocess on shared or production infrastructure.

Reusable axes

  • Default-unset allowlist = no allowlist. When auditing any provider/plugin/backend registry pattern, ask what happens when the enable-list is empty vs explicitly empty. Fail-open on unset is the same bug class as the Sept 18 Obot default-allow authorizer, grep the check for an if len(list) > 0 guard around enforcement.
  • Config-in-request is code-in-request when the executor trusts the config shape. Enumerate registered provider/handler families and diff which fields come from the request vs operator config. A field you can set in an API call that names a program, path, URL, or class is a sink.
  • Execution-on-save (eager invoke) removes the waiting window. The provider was invoked immediately after validation "as a test", anything that probes configuration by executing it is a same-request RCE primitive.
  • Sweep adjacent registered provider names for the same request-sourced-fields pattern before stopping at the named one.

NooBaa: a presigned PUT becomes CopyObject of anything the signer can read (CVE-2026-94368)

S3 SigV4 presigned URLs sign a canonical request that includes only signed headers. NooBaa's validation dropped unsigned x-amz- headers from the signature calculation instead of rejecting the request. An attacker holding a valid presigned PUT URL adds an unsigned x-amz-copy-source header, and the gateway's operation dispatch converts the upload into a CopyObject, server-side copy of any object the original signer is permitted to reach, across the entire storage system. The signature still verifies (the injected header was never in the canonical form); the operation semantics changed underneath it.

Reusable axes

  • Presigned URL = capability scoped to one (method, bucket/key) tuple, test whether adjacent operations inherit it. From any captured presigned PUT, replay with: x-amz-copy-source (CopyObject), x-amz-copy-source-if-match, version-id/retention headers, and alternate API routes. The finding class is operation confusion at the signature boundary: signature valid, intent changed.
  • Validator shape: reject-vs-strip. When your added header disappears from the signature calc but the request still passes, ask what the dispatcher still reads. Dropping for signing while honoring for behavior is the exact desync between two components parsing the same request (sibling of the Sept 17 transport-parity and grammar-desync axes).
  • Applies to any S3-compatible gateway (NooBaa/Ceph RGW/MinIO-style stacks): fingerprint the gateway first (error XML shapes), then run the presigned-scope battery on owned buckets with synthetic objects, never on customer data.

October 12 follow-up: Temporal's replication trust model, forged temporal://internal callbacks cross namespaces, and inbound replication tasks overwrite local namespaces (CVE-2026-89140 / GHSA-fmmr-q3xv-r2hc, CVE-2026-104355 / GHSA-vvgp-p2h7-g3xf)

Two more Temporal legs land on this page's "request parameter interpreted as trust by an internal component" invariant, both on the internal-address axis the September completion-callback leg established.

  • temporal://internal is a reserved callback address that any authenticated caller may attach (CVE-2026-89140): Scheduler V2 attaches completion callbacks at the reserved address temporal://internal, but the address was exempt from the component.callbacks.allowedAddresses allowlist, so any authenticated caller could attach it to a Workflow start request. The History service then delivers the callback to the token-named component in whatever namespace that component lives in, with no authorization check on the original caller there. Forge a completion matching a target Scheduler V2 schedule's running action and the target schedule records it completed while its Workflow still runs, defeating SKIP overlap policy, and caller-controlled data lands in the next scheduled Workflow as its "last completion result" (a trusted-data injection into another tenant's automation), plus a forged failure pauses schedules configured to pause-on-failure. Forgery preconditions: target namespace ID, schedule ID, and identity/timing of a running action. Scheduler V2 is off by default but existing schedules stay targetable after the enabling settings are turned off.
  • Replication is a one-way trust assumption: the sending cluster excludes local namespaces from outbound tasks; the receiving cluster never applies the same rule inbound (CVE-2026-104355): in multi-cluster setups each cluster pulls replication tasks from registered peers. An inbound task naming an existing local (never-replicated) namespace is applied after checking "at most" that the namespace identifiers match, overwriting state, description, owner, retention, archival settings, cluster list, and even the active cluster (whichever task carries a higher failover version). A party that operates or compromises any registered peer, with zero credentials on the receiving cluster, can mark any local namespace whose name+ID it can supply as Deprecated, make the peer its active cluster, or shorten retention (after which Workflow starts fail). That includes the built-in temporal-system namespace. No exposure if no remote cluster is registered with connection enabled.

Operator axes:

  1. Reserved internal addressing schemes are auth boundaries again (this page's source-header lesson, generalized): if a system routes on a scheme/address that means "I am the system" (temporal://internal, localhost-named hops, loopback URLs, sidecar service names), enumerate whether user-facing entry points can name that scheme directly. The allowlist that governs the dangerous class is only a control if the reserved value isn't exempted from it, audit allowlist exemptions, not just allowlist coverage. Probe in a lab: attach a reserved-address callback with a disposable-token account and see if delivery happens without your namespace appearing anywhere in the target.
  2. Completion/result channels are write channels into other tenants' automation. The forged completion doesn't just flip state, it feeds caller-controlled bytes to the next scheduled Workflow as trusted prior-run output. Any scheduler/workflow product with "last completion result" semantics gets the same sweep: can a non-member influence the data your recurring jobs read?
  3. Replication/peer channels: diff sender-side exclusions against receiver-side validation. The failover-version "higher number wins" rule is a state-rollback primitive wherever a monotonic version counter selects the authoritative copy without a signer check. On authorized multi-cluster Temporal (or any CRDT/replicated-control-plane) assessments: enumerate registered peers (cluster list-equivalent surfaces), fingerprint local vs global namespace flags, and treat the replication task grammar as untrusted input, the peer's replies are attacker-influenceable if you operate or compromise any peer. Proof boundary: two lab clusters, disposable namespaces, mark-your-own-namespace-Deprecated-and-recover evidence; never touch a real cluster's system namespace.
  4. Same-product re-sweep rule holds again: three separate Temporal waves (Sept 21 pair, this October pair) each found new boundaries on components the previous wave had already inventoried. When a platform publishes one advisory wave, queue a re-sweep of its replication/callback/config surfaces for the next scan window.

November 18 follow-up: temporal-proxy renders the caller's namespace into the upstream address it dials, hands out upstream static API keys, and pools connections by rendered address only (3 legs, CVE-2026-130089 / GHSA-2jp8-mqrx-3pcm high, CVE-2026-128974 / GHSA-89m7-vv2p-xp63 medium, CVE-2026-132559 / GHSA-jjw4-5pwx-3wq5 low, published Nov-18 21:31Z)

temporal-proxy (the community gRPC front proxy for Temporal Cloud-style deployments) got a three-leg wave that extends this page's "request parameter interpreted as trust/config by an internal component" thesis to the proxy itself:

  • Namespace → dial-target injection leaks the upstream's static API key (130089, the headline): when an upstream's hostPort is templated from the request namespace, as in the published Temporal Cloud config example, the proxy does not validate the namespace before rendering it into the address it dials. A crafted namespace changes which host the proxy connects to, and the proxy then authenticates to that host with the templated upstream's static API key, which the caller can obtain through the gRPC listener. If the upstream verifies TLS against the system trust store and sets no literal server_name, a caller-controlled host with any publicly trusted certificate passes verification, the proxy ships a valid credential to an attacker-chosen endpoint. This is the templated-SSRF-with-credential-handoff pattern: the path/carve-out SSRF family, but the template variable selects the destination and the proxy adds the victim credential itself.
  • Connection pool key omits upstream identity (128974): templated-upstream connections are pooled keyed by rendered address + TLS server name only, while outbound credential, namespace translation, and payload-encryption keys are attached per-upstream. When two templated upstreams render to the same address, a request routed to upstream A rides a pooled connection carrying upstream B's credential, namespace translation, and encryption keys. Pool-key-vs-attached-state audit rule: enumerate everything attached to a pooled object, then check every one of them is in the pool key.
  • Failure decryption leaks plaintext into upstream history (132559): with payload encryption enabled, the proxy decrypts a failure's encoded attributes and copies message + stack trace back onto the failure keeping the attributes; a Worker echoing that failure through the proxy (what SDKs do) writes proxy-side plaintext into the upstream Workflow history, where anyone with history read access sees internals meant to stay encrypted. Decryption-boundary leak class: any decrypt-then-reshape-then-re-encrypt hop can leave a leg in cleartext.

Operator axes:

  1. On any proxy/gateway with templated upstream addresses, the template variable is a destination selector. Inventory template variables in proxy config (${namespace}, ${user}, ${tenant} in hostPort/url fields), then send crafted values through the gRPC/HTTP entry point and watch for outbound connections (owned DNS/cert telemetry on a lab domain beats blind guessing).
  2. Check what credential the proxy attaches to a caller-influenced destination. The finding grade jumps from "SSRF" to "credential disclosure" the moment the proxy authenticates with a stored upstream secret to the caller-steered host. Probe: does an error/response echo the API key, does a lab-owned fake upstream log receiving Authorization/temporal-namespace material? Prove only against your own lab proxy and owned fake upstreams, never real Temporal Cloud tenants.
  3. TLS verification gaps ride config defaults. "System trust store, no literal server_name" is the fail-open leg, fingerprint proxies that leave server-name pinning unset; a publicly trusted cert for your crafted host then completes the man-in-the-middle-of-your-own-credential chain.
  4. Same-product re-sweep rule fires a fourth time (Sept 21 pair, Oct 12 pair, and now the proxy component itself): each Temporal-ecosystem wave found boundaries on components earlier waves never touched. Keep the whole ecosystem (server, internal frontend, callback delivery, replication, proxy) queued for re-sweeps.

Adjacent wave items (tracked, not published)

Reporting heuristics

  • For the Temporal pair, the report language is which credential the server used for your request: the callback finding = "system-administrator internal client resolved from your header flag"; the subprocess finding = "server process account, immediate execution, cluster-wide persistence creds." Name the privilege, not the HTTP detail.
  • Separate precondition found from exploit proven: both Temporal findings need config state (httpPort, allowedAddresses, compute_providers.enabled) recorded verbatim before any proof step.
  • For NooBaa, prove with owned signer + owned source bucket + synthetic canary object, showing the copy landing where the presigned PUT alone could never write; a passing signature plus changed semantics is the whole finding.