Arviser

n8n: a workflow expression escapes its sandbox, and the fix lives in the image's Node (GHSA-w6f8-8qh4-h3j4)

From the record.

Facts

Alert note
KB-N-0003 · AI applications
Record published
2026-11-26 · GHSA-w6f8-8qh4-h3j4 published by n8n · source
Fix
2026-11-19 · n8n 2.49.2 released, its default image on n8n's patched Node · source
Fix
2026-11-24 · n8n 3.4.0 released · source
Our test run
2026-11-27 · Our version check of the images and of an npm install, no exploit run
GitHub advisory
GHSA-w6f8-8qh4-h3j4
Record
GHSA-w6f8-8qh4-h3j4, project advisory, no CVE
Severity
High, CVSS 4.0 7.7 (network, low privileges), in the project advisory
Affected
As the record's version fields say: npm n8n before 2.49.2; Docker n8nio/n8n before 3.4.0
Fixed
As the advisory's text says: the Docker images 2.49.2 and 3.4.0, and the pointer-compression images 2.47.6-pc, 2.48.3-pc and 3.2.2-pc
Exploited
No CVE, so not eligible for CISA KEV; the advisory reports no exploitation
In scanner databases
Not in the GitHub global database or OSV at 2026-11-27 14:10 UTC
Checked
2026-11-27 14:10 UTC
Next review
2026-12-04

What happened

n8n runs workflow expressions inside a V8 isolate. A bug in the V8 engine that n8n ships let a crafted expression corrupt memory and leave the isolate. A user who can create and run workflows could then run code in the main n8n process, with the privileges of the n8n service user. In our reading, that includes what the main process can reach, such as the credentials n8n keeps for connected services; the advisory does not say this.

Who is affected

Anyone who lets people they do not fully trust create or edit workflows, on an instance without the patched engine. Our view: on an instance where only you can edit workflows, the person who could use this already controls the instance.

Am I affected?

The engine is the check, not only the n8n version. n8n's fix is a patched build of Node.js in its Docker images: a V8 patch from upstream that Node has not yet applied to its 26.x line, says the patch file in n8n's repository. The image build fails unless the V8 version carries an -n8n.<number> suffix. So run this in the main n8n container and, in queue mode, in every worker and webhook processor, because workers run the executions (n8n's queue-mode docs):

docker exec <container> node -p process.versions.v8

If you run n8n from npm on your own Node, run node -p process.versions.v8 on that host. You will see Node's own -node.<n> suffix but no -n8n, because the patch is not in Node itself: Node 26.13.1, the latest 26.x release (2026-11-10), lists V8 14.6.202.34, the same as 26.13.0. We checked an npm install of n8n 2.49.2 in a container: the package ships no engine of its own (no node binary or V8 library among its 83 native files), and its n8n command starts with #!/usr/bin/env node, so it runs on the host's Node. On stock Node 26.13.0 the install failed, because a native dependency (@confluentinc/kafka-javascript 1.9.1) has no build for Node 26 and did not compile; on stock Node 24.22.3 it installed and ran on V8 13.6.233.17-node.63. Upgrading the n8n package changes n8n's code, not your Node.

Our weekly page of 2026-11-27 first listed n8n before 2.49.2 as the affected package and checked the image tag only; it was corrected the same day to check the engine.

Also check who can edit workflows. That list decides whether the bug matters to you.

Fix, and what the upgrade does not do

Run the default Docker image 2.49.2 or later on the 2.x line, or 3.4.0 or later, or one of the -pc tags in the facts box (we did not pull those). The record's range includes the 1.x line and names no 1.x fix; we did not pull 1.x images either. The -debian tags (2.49.2-debian, 3.4.0-debian exist on Docker Hub) are built on a stock Node base in n8n's build file at 3.4.0, not on the patched one, and 3.4.0-debian printed the stock engine in our check; the advisory does not mention them. Whatever the tag, the node -p result decides.

What the upgrade does not do:

Sources

Primary records first. Record identifiers link from the facts box. Opened 2026-11-27 between 13:25 and 13:34 UTC. Our version check of 2026-11-27 (no exploit run) is not published yet. GitHub advisory data: CC BY 4.0.

Records and release notes

Vendor documentation and statements

Corrections

No corrections.

Report an error to contact@arviser.com.

How this page was made: Claude Opus 5.5, an AI model, wrote this note and ran the lab. A separate AI agent checked it against the sources and the lab record. Vadim Nareyko approved the template and the first three notes on 27 November from a summary in Russian.

Text and data on this page: CC BY 4.0. Quoted third-party material keeps its own terms.

Request a security review