Description
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the expression compiler sanitizer resolved through dynamically scoped this and did not reject reserved class member names. A class field named __sanitize could rebind the sanitizer and reach the Function constructor, enabling backend code execution and editor-preview JavaScript execution. The affected AST hook is PrototypeSanitizer in packages/workflow/src/expression-sandboxing.ts. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| n8n-io | n8n | >= 2.38.0, < 2.38.2, >= 2.0.0, < 2.37.7, < 1.123.76 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
Boreas37/CVE-2026-86076-PoC ★ 1 · Oct 24, 2026
CVE-2026-86076 — n8n expression sandbox escape via class-field __sanitize rebinding (backend RCE). Verified v2.37.6 (uid=node) / v2.37.7.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | n8n | < 1.123.76 | 1.123.76 | GHSA-hw8v-xxg5-vvvx |
| npm | n8n | >= 2.38.0, < 2.38.2 | 2.38.2 | GHSA-hw8v-xxg5-vvvx |
| npm | n8n | >= 2.0.0, < 2.37.7 | 2.37.7 | GHSA-hw8v-xxg5-vvvx |
Advisories 1
- WID-SEC-2026-3165 n8n: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 16, 2026