world

n8n Patches Expression Sandbox Escape Across Four Release Branches

n8n's November 26 security update fixes a main-process expression sandbox escape and three medium flaws across self-hosted v1, v2, and v3 releases.

n8n Patches Expression Sandbox Escape Across Four Release Branches

Workflow automation platform n8n has shipped a coordinated security update addressing an expression sandbox escape that allows code execution in the main server process. Published on November 26 in n8n's official security advisory, the patch batch resolves four vulnerabilities affecting self-hosted deployments across active release lines.

What happened

In its bi-weekly security bulletin, the n8n Security Team disclosed four GitHub Security Advisories (GHSAs) and urged self-hosted administrators to upgrade immediately. While n8n Cloud instances were patched automatically without user action, self-hosted teams running older builds remain exposed until they pull the updated container images or packages.

Key details and numbers

The November 26 release covers four distinct flaws spanning expression evaluation, vector-store integrations, WebSocket handling, and error redaction:

  • Expression Sandbox Escape (GHSA-w6f8-8qh4-h3j4, High): Allows an attacker who can supply or edit workflow expressions to break out of the expression sandbox and execute arbitrary code directly inside n8n's main Node.js process.
  • Chroma Vector Store Node Cross-Access (GHSA-g45f-rmpv-24vc, Medium): Grants workspace members unintended access to the host's Chroma Cloud account credentials or data.
  • WebSocket File Descriptor Exhaustion (GHSA-p3cc-p7wp-f2x7, Medium): Unclaimed WebSocket upgrade requests can exhaust server file descriptors, creating a denial-of-service vector.
  • Execution Data Redaction Leak (GHSA-rqx8-m8xf-23ff, Medium): Sends unredacted node error payloads to the browser editor, potentially exposing sensitive parameters or tokens.

Fixes are available across all four supported branches: v1.123.102 (v1), v2.49.7 (stable), v2.50.2 (beta), and v3.4.1 (v3).

Context and why now

n8n has rapidly evolved from a developer integration tool into a core orchestration layer for self-hosted AI agents, RAG pipelines, and internal business automations. That shift puts multi-user permissions, vector database connectors like Chroma, and dynamic JavaScript expressions directly on the critical security boundary. When an expression sandbox fails, an authenticated editor or untrusted workflow template can compromise the entire host—including every stored OAuth token and API key in the instance's credential vault.

Macro and micro consequences

At the macro level, this batch illustrates the growing attack surface of AI workflow engines: as platforms add vector stores, real-time WebSocket editors, and multi-tenant workspaces, isolation bugs increasingly bridge the gap between low-privilege workspace roles and full host takeover.

At the micro level, DevOps engineers and indie founders running self-hosted n8n on Coolify, Docker, or Kubernetes should treat GHSA-w6f8-8qh4-h3j4 as a priority patch. If third-party collaborators, AI-generated workflows, or external users can trigger or edit expressions on your instance, main-process code execution effectively exposes every connected SaaS integration.

Who wins and who loses

  • Self-hosted teams on automated patch pipelines and n8n Cloud users remain protected with minimal operational friction.
  • Unattended self-hosted instances running pinned older Docker tags risk credential theft and denial-of-service attacks.

What to watch next

Watch n8n's GitHub Security Advisories page for full CVSS scores, affected version ranges, and technical reproduction details once the initial patch adoption window closes. Engineering teams should also audit workspace role assignments, disable unused community nodes, and verify that CI/CD pipelines or container watchtower rules actively track all supported v1, v2, and v3 release branches.

// sources

// WebZona Studio products

Need a product or service that does not exist yet?

Pitch your idea in our "50 Hours" program — every month we build one community idea free for everyone. Or explore our released products.

// comments (0)

// no comments yet.