---
collection: workflow-orchestration
collection_name: Background Jobs & Orchestration
week_start: 2026-11-23
title: Shell injection hardening and safer cancellation across the orchestration stack
release_count: 28
generated: 2026-11-30
canonical: https://releases.sh/collections/workflow-orchestration/digest/2026-11-23
---

# Shell injection hardening and safer cancellation across the orchestration stack

Inngest closed a shell-injection hole in its `$.sh` step helper and added typed event narrowing, while Temporal's Go and TypeScript SDKs made workflow cancellation observable and patched a wave of OpenTelemetry and concurrency bugs. n8n moved its expression engine off the legacy runtime and brought agent thinking and tool calls into a single trace.

### Hardening the shell boundary

The week's sharpest security fix came from Inngest, which [now rejects `$.sh` templates that combine interpolated values with heredoc operators](https://github.com/inngest/inngest-js/releases/tag/%40inngest/ci%400.7.2) or static backticks. The subtlety matters: heredoc bodies ignore the single quotes Inngest wraps around values, so untrusted text could slip command substitution past the escaping and execute. Templates mixing values with `<<` or with interpolated backtick text are now blocked before the command starts, and the guidance is to reach for `printf %s ${value}` and `$(command)`. The same release line also brought [typed event narrowing with `myEvent.is(value)` and an experimental inbox-based `step.subscribe`](https://github.com/inngest/inngest-js/releases/tag/inngest%404.27.0), plus a fix for Extended Traces leaks that held root span IDs for the life of the process — a long-lived worker's worth of retained memory.

### Cancellation you can reason about

Temporal's Go SDK made [cancellation causes first-class](https://github.com/temporalio/sdk-go/releases/tag/v1.52.0): workflows can inspect why they were cancelled via `workflow.Cause`, cancel local contexts with `workflow.WithCancelCause`, and read reasons passed through `client.CancelWorkflowWithOptions` or the new external-workflow cancel options. That work also fixed session-worker updates stomping on ordinary activity-worker gauges and distorting heartbeats, and trimmed memory by reusing zlib writers and readers. The gcsdriver and s3driver both raised their floor to the SDK version supplying `StorageDriverStoreContext.Namespace` and [made external-storage store and retrieve operations respect `ExternalStorage.Concurrency`](https://github.com/temporalio/sdk-go/releases/tag/contrib/gcp/gcsdriver/v0.3.0), with parallel-safe `BucketFunc` callbacks and namespaced payload paths for untargeted writes — [the S3 driver mirrors the same behavior](https://github.com/temporalio/sdk-go/releases/tag/contrib/aws/s3driver/v0.4.0).

The OpenTelemetry side got a coordinated sweep: [otlpworker fixed a resource schema conflict that broke `NewProviders`](https://github.com/temporalio/sdk-go/releases/tag/contrib/opentelemetry/otlpworker/v0.1.1), [cloudrun's plugin picked it up so provider init no longer clashes](https://github.com/temporalio/sdk-go/releases/tag/contrib/gcp/cloudrun/otel/v0.1.1), and [lambdaworker refactored onto the shared module](https://github.com/temporalio/sdk-go/releases/tag/contrib/aws/lambdaworker/otel/v0.2.0) while raising its minimum Go to 1.26.0. All three pulled OpenTelemetry v1.47.0 to close an attribute-length-limit bypass and an excessive-memory-allocation bug in baggage parsing; the GCS driver bundle followed [with a go-jose update for earlier vulnerabilities](https://github.com/temporalio/sdk-go/releases/tag/contrib/gcp/gcsdriver/gcssdk/v0.3.0). On the TypeScript side, [the SDK dropped Bun below 1.4.0 and fixed double resolution of cancelled Nexus operations](https://github.com/temporalio/sdk-typescript/releases/tag/v1.27.0), and addressed late failures of abandoned activities and silently ignored concurrency limits like `maxConcurrentWorkflowTaskPolls` — the kind of setting that quietly costs you throughput when it doesn't apply.

### Expression engines and agent traces

n8n spent the week migrating its expression evaluation: [urlEncode, base64Decode, and format now evaluate natively](https://github.com/n8n-io/n8n/releases/tag/n8n%402.49.6) with results aligned to the legacy engine, then [the isolate engine's path extraction was brought back in line with legacy behavior](https://github.com/n8n-io/n8n/releases/tag/n8n%402.50.2) — consistency here matters because a subtly different `extractUrlPath` can change routing silently. The [2.50 line](https://github.com/n8n-io/n8n/releases/tag/n8n%402.50.0) and its [patch releases](https://github.com/n8n-io/n8n/releases/tag/n8n%402.50.1) layered in agent UX: thinking and tool calls appear in one shared activity trace, stopped runs show as status lines, and AI Agent nodes drop memory turns with empty content. The 2.49 line kept pace [with its own fixes](https://github.com/n8n-io/n8n/releases/tag/n8n%402.49.8), and the 3.4 branch [carried the same expression and AI-builder work forward](https://github.com/n8n-io/n8n/releases/tag/n8n%403.4.0). Smaller fixes rounded out the week: [credential tokens now refresh during tests](https://github.com/n8n-io/n8n/releases/tag/n8n%402.49.5), [VM expression engines return uncopyable values gracefully](https://github.com/n8n-io/n8n/releases/tag/n8n%402.49.4), and [custom instance roles gained Migration Report access](https://github.com/n8n-io/n8n/releases/tag/n8n%402.48.8).

Trigger.dev cut two patch releases, most notably [a breaking-change cleanup in its worker runtime](https://github.com/triggerdotdev/trigger.dev/releases/tag/v4.8.9) and [follow-up improvements](https://github.com/triggerdotdev/trigger.dev/releases/tag/v4.8.10), with matching [Helm chart bumps](https://github.com/triggerdotdev/trigger.dev/releases/tag/helm-v4.8.9) so self-hosted installs stay in step — [the chart release](https://github.com/triggerdotdev/trigger.dev/releases/tag/helm-v4.8.10) tracks the same version.

## Releases covered

### Inngest

- [Inngest CI 0.7.2 blocks shell injection in $.sh templates](https://github.com/inngest/inngest-js/releases/tag/%40inngest/ci%400.7.2)
- [Inngest JS SDK 4.27.0 adds event narrowing with is() and experimental inboxes](https://github.com/inngest/inngest-js/releases/tag/inngest%404.27.0)

### n8n

- [n8n@2.49.6](https://github.com/n8n-io/n8n/releases/tag/n8n%402.49.6)
- [n8n@2.50.2](https://github.com/n8n-io/n8n/releases/tag/n8n%402.50.2)
- [n8n@2.50.0](https://github.com/n8n-io/n8n/releases/tag/n8n%402.50.0)
- [n8n@2.50.1](https://github.com/n8n-io/n8n/releases/tag/n8n%402.50.1)
- [n8n@2.49.8](https://github.com/n8n-io/n8n/releases/tag/n8n%402.49.8)
- [n8n@3.4.0](https://github.com/n8n-io/n8n/releases/tag/n8n%403.4.0)
- [n8n@2.49.5](https://github.com/n8n-io/n8n/releases/tag/n8n%402.49.5)
- [n8n@2.49.4](https://github.com/n8n-io/n8n/releases/tag/n8n%402.49.4)
- [n8n@2.48.8](https://github.com/n8n-io/n8n/releases/tag/n8n%402.48.8)

### Temporal

- [Temporal Go SDK v1.52.0 adds workflow cancellation causes](https://github.com/temporalio/sdk-go/releases/tag/v1.52.0)
- [Temporal Go SDK gcsdriver v0.3.0 raises minimum SDK to v1.52.0](https://github.com/temporalio/sdk-go/releases/tag/contrib/gcp/gcsdriver/v0.3.0)
- [Temporal Go SDK s3driver v0.4.0 requires Go SDK v1.52.0](https://github.com/temporalio/sdk-go/releases/tag/contrib/aws/s3driver/v0.4.0)
- [Temporal Go SDK otlpworker 0.1.1 patches OpenTelemetry security advisories](https://github.com/temporalio/sdk-go/releases/tag/contrib/opentelemetry/otlpworker/v0.1.1)
- [Temporal Go SDK cloudrun otel v0.1.1 fixes OpenTelemetry provider init conflict](https://github.com/temporalio/sdk-go/releases/tag/contrib/gcp/cloudrun/otel/v0.1.1)
- [Temporal Go SDK lambdaworker otel v0.2.0 raises minimum Go to 1.26.0](https://github.com/temporalio/sdk-go/releases/tag/contrib/aws/lambdaworker/otel/v0.2.0)
- [Temporal Go SDK GCS driver v0.3.0 requires Go SDK v1.52.0](https://github.com/temporalio/sdk-go/releases/tag/contrib/gcp/gcsdriver/gcssdk/v0.3.0)
- [Temporal TypeScript SDK v1.27.0 drops Bun below 1.4.0 and fixes Nexus cancellation](https://github.com/temporalio/sdk-typescript/releases/tag/v1.27.0)

### Trigger.dev

- [trigger.dev v4.8.9](https://github.com/triggerdotdev/trigger.dev/releases/tag/v4.8.9)
- [trigger.dev v4.8.10](https://github.com/triggerdotdev/trigger.dev/releases/tag/v4.8.10)
- [Helm Chart 4.8.9](https://github.com/triggerdotdev/trigger.dev/releases/tag/helm-v4.8.9)
- [Helm Chart 4.8.10](https://github.com/triggerdotdev/trigger.dev/releases/tag/helm-v4.8.10)
