All vulnerabilities

Servers and applications

GHSA-w6f8-8qh4-h3j4

Expression Sandbox Escape Allows Code Execution in the Main Process

Severity
High 7.7
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
2.49.2
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

n8n evaluated workflow expressions in a sandboxed V8 isolate. A flaw in how the V8 engine bundled with n8n internalized certain strings let a crafted expression corrupt memory and escape that isolate. A user who could create and run workflows could use it to run arbitrary code in the main n8n process, with the privileges of the n8n service user.

From n8n-io/n8n's security advisory.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Remove workflow creation and editing access from any users who are not fully trusted until the instance is patched.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Workarounds as given by n8n-io/n8n's security advisory.

Affected software

SoftwareAffected versions
n8nServers and applications · github:n8n-io/n8n
  • Every version before 2.49.2

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
115,152npm, 29 Nov 2026
Docker Hub pulls
292,721,244Docker Hub, 29 Nov 2026
GitHub stars
212,423GitHub, 29 Nov 2026
Forks
61,691GitHub, 29 Nov 2026
Latest release
[email protected]GitHub, 29 Nov 2026
Released
27 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References