All vulnerabilities

Servers and applications

CVE-2026-86083

Expression Sandbox Escape via Shared Builtin Tampering and Code-Printer Injection Leads to Code Execution

Severity
High 7.7
Published
2 Sept 2026
Last changed
11 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.123.76, 2.37.7, 2.38.2
Exploit chance
0.7% in the next 30 daysHigher than 52% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Code injection (CWE-94)
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-6xcw-7xm6-48c6
Sources
NVD, Project advisories (GitHub)

Description

Two stages of expression code generation built source text by calling the global JSON.stringify at generation time: the compiler when printing synthetic string literals, and the isolate bridge when interpolating a timezone value into its per-evaluation wrapper. An expression that replaced that global therefore changed the code that was subsequently generated and executed, turning literal data into executable source. The patch renders both code-generation stages through a reference captured at module load, so a later change to global state cannot alter the generated source.

This vulnerability only affects instances running the legacy expression engine. The vm expression engine, which is the default on the patched releases, is not affected.

From n8n-io/n8n's security advisory.

Workarounds

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

  • Set the environment variable N8N_EXPRESSION_ENGINE=vm to switch to the vm expression engine, which is not affected by this vulnerability.
  • Restrict n8n instance access to fully trusted users only.
  • Ensure the n8n process runs under a dedicated low-privilege OS user account to limit the impact of any command execution.

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 · cpe:a:n8n:n8n
  • Every version before 1.123.76
  • From 2.0.0 before 2.37.7
  • From 2.38.0 before 2.38.2
n8nServers and applications · github:n8n-io/n8n
  • Every version before 1.123.76
  • Every version before 2.38.2
  • Every version before 2.37.7

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
103,525npm, 15 Nov 2026
Docker Hub pulls
286,090,810Docker Hub, 15 Nov 2026
GitHub stars
210,541GitHub, 15 Nov 2026
Forks
61,525GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-86083
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-86083
  • GitHub Advisory Database https://github.com/advisories/GHSA-6xcw-7xm6-48c6
  • github.com https://github.com/n8n-io/n8n/security/advisories/GHSA-6xcw-7xm6-48c6